#8956EF#8956EF

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

Color values

HEX#8956EF
RGBrgb(137, 86, 239)
HSLhsl(260, 83%, 64%)
HSVhsv(260, 64%, 94%)
CMYKcmyk(42.7%, 64%, 0%, 6.3%)
CIE-LABlab(49.74, 54.08, -69.80)
CIE-LCHlch(49.74, 88.30, 307.77°)
OKLaboklab(59.01% 0.0888 -0.1994)
OKLCHoklch(59.01% 0.218 294)
XYZxyz(29.2201, 18.2052, 83.6190)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956EF #BCEF56
analogous
#566FEF #8956EF #D556EF
triadic
#8956EF #EF8956 #56EF89
tetradic
#8956EF #EF566F #BCEF56 #56EFD5
square
#8956EF #EF566F #BCEF56 #56EFD5
split-complementary
#8956EF #EFD556 #6FEF56
monochromatic
#4912B9 #621EEA #8956EF #B08EF4 #D7C6FA

Accessibility & contrast

On white

4.52
#8956EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8956EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8956EF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956EF#FFFFFF#000000##000000
##8956EF1.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)
#0078F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#6D7A9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8956ef;
/* rgb */ color: rgb(137, 86, 239);
/* oklch */ color: oklch(59.0% 0.218 294.0);
Tailwind
colors: {
  custom: {
    50: '#b288f5',
    500: '#8956ef',
    950: '#000000',
  },
}
SCSS
$custom: #8956ef;
$custom-light: #b288f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8956ef",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.21826,
    "h": 294
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#8956EF
secondary
#D9EBB5
accent
#DF0697
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8956EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8956EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva