#9854E9#9854E9

#9854E9 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.216 H 301.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9854E9
RGBrgb(152, 84, 233)
HSLhsl(267, 77%, 62%)
HSVhsv(267, 64%, 91%)
CMYKcmyk(34.8%, 63.9%, 0%, 8.6%)
CIE-LABlab(50.57, 56.59, -65.02)
CIE-LCHlch(50.57, 86.19, 311.03°)
OKLaboklab(59.85% 0.1113 -0.1848)
OKLCHoklch(59.85% 0.216 301.1)
XYZxyz(30.8237, 18.8991, 79.0990)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854E9 #A5E954
analogous
#545AE9 #9854E9 #E354E9
triadic
#9854E9 #E99854 #54E998
tetradic
#9854E9 #E9545A #A5E954 #54E9E3
square
#9854E9 #E9545A #A5E954 #54E9E3
split-complementary
#9854E9 #E9E354 #5AE954
monochromatic
#5B16AC #771EE2 #9854E9 #B98AF0 #D9C0F7

Accessibility & contrast

On white

4.39
#9854E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9854E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854E9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854E9#FFFFFF#000000##000000
##9854E91.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#1278E6
Tritanopia (blue-blind)
#877597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9854e9;
/* rgb */ color: rgb(152, 84, 233);
/* oklch */ color: oklch(59.8% 0.216 301.1);
Tailwind
colors: {
  custom: {
    50: '#bc88f1',
    500: '#9854e9',
    950: '#000000',
  },
}
SCSS
$custom: #9854e9;
$custom-light: #bc88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9854e9",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 267.383,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59846,
    "c": 0.21576,
    "h": 301.1
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#9854E9
secondary
#CFE8B1
accent
#D90C7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9854E9

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

Preview Lab → · Contrast checker → · Palette generator →

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