#8F56EC#8F56EC

#8F56EC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.215 H 296.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8F56EC
RGBrgb(143, 86, 236)
HSLhsl(263, 80%, 63%)
HSVhsv(263, 64%, 93%)
CMYKcmyk(39.4%, 63.6%, 0%, 7.5%)
CIE-LABlab(50.16, 54.48, -67.42)
CIE-LCHlch(50.16, 86.68, 308.94°)
OKLaboklab(59.39% 0.097 -0.1922)
OKLCHoklch(59.39% 0.215 296.8)
XYZxyz(29.7919, 18.5508, 81.3517)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56EC #B3EC56
analogous
#5668EC #8F56EC #DA56EC
triadic
#8F56EC #EC8F56 #56EC8F
tetradic
#8F56EC #EC5668 #B3EC56 #56ECDA
square
#8F56EC #EC5668 #B3EC56 #56ECDA
split-complementary
#8F56EC #ECDA56 #68EC56
monochromatic
#5114B3 #6B1FE6 #8F56EC #B38DF2 #D8C4F8

Accessibility & contrast

On white

4.46
#8F56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8F56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F56EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56EC#FFFFFF#000000##000000
##8F56EC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#787899
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f56ec;
/* rgb */ color: rgb(143, 86, 236);
/* oklch */ color: oklch(59.4% 0.215 296.8);
Tailwind
colors: {
  custom: {
    50: '#b689f3',
    500: '#8f56ec',
    950: '#000000',
  },
}
SCSS
$custom: #8f56ec;
$custom-light: #b689f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56ec",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 262.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5939,
    "c": 0.21529,
    "h": 296.8
  },
  "luminance": 0.18551
}

Semantic roles & 50–950 ramp

primary
#8F56EC
secondary
#D5EAB4
accent
#DC098C
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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