#9854ED#9854ED

#9854ED is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.1% C 0.220 H 300.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9854ED
RGBrgb(152, 84, 237)
HSLhsl(267, 81%, 63%)
HSVhsv(267, 65%, 93%)
CMYKcmyk(35.9%, 64.6%, 0%, 7.1%)
CIE-LABlab(50.84, 57.55, -66.83)
CIE-LCHlch(50.84, 88.19, 310.74°)
OKLaboklab(60.13% 0.1109 -0.1902)
OKLCHoklch(60.13% 0.22 300.3)
XYZxyz(31.4015, 19.1302, 82.1425)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854ED #A9ED54
analogous
#545CED #9854ED #E554ED
triadic
#9854ED #ED9854 #54ED98
tetradic
#9854ED #ED545C #A9ED54 #54EDE5
square
#9854ED #ED545C #A9ED54 #54EDE5
split-complementary
#9854ED #EDE554 #5CED54
monochromatic
#5A13B4 #771DE7 #9854ED #B98BF3 #DBC3F9

Accessibility & contrast

On white

4.35
#9854ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9854ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854ED
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854ED#FFFFFF#000000##000000
##9854ED1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#857799
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9854ed;
/* rgb */ color: rgb(152, 84, 237);
/* oklch */ color: oklch(60.1% 0.220 300.3);
Tailwind
colors: {
  custom: {
    50: '#bc88f4',
    500: '#9854ed',
    950: '#000000',
  },
}
SCSS
$custom: #9854ed;
$custom-light: #bc88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9854ed",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 266.667,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.22015,
    "h": 300.3
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#9854ED
secondary
#D1EAB3
accent
#DD087F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9854ED

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

Preview Lab → · Contrast checker → · Palette generator →

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