#8F56E6#8F56E6

#8F56E6 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.208 H 297.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F56E6
RGBrgb(143, 86, 230)
HSLhsl(264, 74%, 62%)
HSVhsv(264, 63%, 90%)
CMYKcmyk(37.8%, 62.6%, 0%, 9.8%)
CIE-LABlab(49.75, 52.96, -64.70)
CIE-LCHlch(49.75, 83.61, 309.30°)
OKLaboklab(58.96% 0.0975 -0.1842)
OKLCHoklch(58.96% 0.208 297.9)
XYZxyz(28.9348, 18.2080, 76.8376)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56E6 #ADE656
analogous
#5665E6 #8F56E6 #D756E6
triadic
#8F56E6 #E68F56 #56E68F
tetradic
#8F56E6 #E65665 #ADE656 #56E6D7
square
#8F56E6 #E65665 #ADE656 #56E6D7
split-complementary
#8F56E6 #E6D756 #65E656
monochromatic
#5219A9 #6C21DE #8F56E6 #B28BEE #D6C1F6

Accessibility & contrast

On white

4.52
#8F56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8F56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F56E6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56E6#FFFFFF#000000##000000
##8F56E61.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#0275E3
Tritanopia (blue-blind)
#7A7696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f56e6;
/* rgb */ color: rgb(143, 86, 230);
/* oklch */ color: oklch(59.0% 0.208 297.9);
Tailwind
colors: {
  custom: {
    50: '#b588ef',
    500: '#8f56e6',
    950: '#000000',
  },
}
SCSS
$custom: #8f56e6;
$custom-light: #b588ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56e6",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 263.75,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.20843,
    "h": 297.9
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

primary
#8F56E6
secondary
#D1E6B1
accent
#D60F88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F56E6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8F56E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva