#9854EF#9854EF

#9854EF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.222 H 299.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9854EF
RGBrgb(152, 84, 239)
HSLhsl(266, 83%, 63%)
HSVhsv(266, 65%, 94%)
CMYKcmyk(36.4%, 64.9%, 0%, 6.3%)
CIE-LABlab(50.98, 58.04, -67.73)
CIE-LCHlch(50.98, 89.19, 310.59°)
OKLaboklab(60.27% 0.1107 -0.1928)
OKLCHoklch(60.27% 0.222 299.9)
XYZxyz(31.6954, 19.2477, 83.6900)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854EF #ABEF54
analogous
#545DEF #9854EF #E654EF
triadic
#9854EF #EF9854 #54EF98
tetradic
#9854EF #EF545D #ABEF54 #54EFE6
square
#9854EF #EF545D #ABEF54 #54EFE6
split-complementary
#9854EF #EFE654 #5DEF54
monochromatic
#5A11B7 #761CEA #9854EF #BA8CF4 #DBC4F9

Accessibility & contrast

On white

4.33
#9854EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9854EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854EF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854EF#FFFFFF#000000##000000
##9854EF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#85779A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9854ef;
/* rgb */ color: rgb(152, 84, 239);
/* oklch */ color: oklch(60.3% 0.222 299.9);
Tailwind
colors: {
  custom: {
    50: '#bc88f5',
    500: '#9854ef',
    950: '#000000',
  },
}
SCSS
$custom: #9854ef;
$custom-light: #bc88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9854ef",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 266.323,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.22234,
    "h": 299.9
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#9854EF
secondary
#D3EBB4
accent
#DF0680
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9854EF

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

Preview Lab → · Contrast checker → · Palette generator →

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