#8F56E4#8F56E4

#8F56E4 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.206 H 298.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F56E4
RGBrgb(143, 86, 228)
HSLhsl(264, 72%, 62%)
HSVhsv(264, 62%, 89%)
CMYKcmyk(37.3%, 62.3%, 0%, 10.6%)
CIE-LABlab(49.61, 52.46, -63.79)
CIE-LCHlch(49.61, 82.59, 309.43°)
OKLaboklab(58.82% 0.0977 -0.1815)
OKLCHoklch(58.82% 0.206 298.3)
XYZxyz(28.6555, 18.0963, 75.3670)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56E4 #ABE456
analogous
#5664E4 #8F56E4 #D656E4
triadic
#8F56E4 #E48F56 #56E48F
tetradic
#8F56E4 #E45664 #ABE456 #56E4D6
square
#8F56E4 #E45664 #ABE456 #56E4D6
split-complementary
#8F56E4 #E4D656 #64E456
monochromatic
#521AA5 #6C23DA #8F56E4 #B28BEC #D5C0F5

Accessibility & contrast

On white

4.55
#8F56E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8F56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F56E4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56E4#FFFFFF#000000##000000
##8F56E41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0D75E1
Tritanopia (blue-blind)
#7B7695
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f56e4;
/* rgb */ color: rgb(143, 86, 228);
/* oklch */ color: oklch(58.8% 0.206 298.3);
Tailwind
colors: {
  custom: {
    50: '#b588ed',
    500: '#8f56e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f56e4;
$custom-light: #b588ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56e4",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 264.085,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58823,
    "c": 0.20613,
    "h": 298.3
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#8F56E4
secondary
#D0E5B0
accent
#D51186
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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