#9854EB#9854EB

#9854EB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.218 H 300.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9854EB
RGBrgb(152, 84, 235)
HSLhsl(267, 79%, 63%)
HSVhsv(267, 64%, 92%)
CMYKcmyk(35.3%, 64.3%, 0%, 7.8%)
CIE-LABlab(50.70, 57.07, -65.92)
CIE-LCHlch(50.70, 87.19, 310.88°)
OKLaboklab(59.99% 0.1111 -0.1875)
OKLCHoklch(59.99% 0.218 300.7)
XYZxyz(31.1110, 19.0140, 80.6122)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854EB #A7EB54
analogous
#545BEB #9854EB #E454EB
triadic
#9854EB #EB9854 #54EB98
tetradic
#9854EB #EB545B #A7EB54 #54EBE4
square
#9854EB #EB545B #A7EB54 #54EBE4
split-complementary
#9854EB #EBE454 #5BEB54
monochromatic
#5B15B0 #771DE5 #9854EB #B98BF1 #DAC2F8

Accessibility & contrast

On white

4.37
#9854EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9854EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854EB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854EB#FFFFFF#000000##000000
##9854EB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0778E8
Tritanopia (blue-blind)
#867698
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9854eb;
/* rgb */ color: rgb(152, 84, 235);
/* oklch */ color: oklch(60.0% 0.218 300.7);
Tailwind
colors: {
  custom: {
    50: '#bc88f2',
    500: '#9854eb',
    950: '#000000',
  },
}
SCSS
$custom: #9854eb;
$custom-light: #bc88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9854eb",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 267.02,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.21795,
    "h": 300.7
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#9854EB
secondary
#D0E9B2
accent
#DB0A7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9854EB

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

Preview Lab → · Contrast checker → · Palette generator →

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