#9854E4#9854E4

#9854E4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.210 H 302.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9854E4
RGBrgb(152, 84, 228)
HSLhsl(268, 73%, 61%)
HSVhsv(268, 63%, 89%)
CMYKcmyk(33.3%, 63.2%, 0%, 10.6%)
CIE-LABlab(50.24, 55.38, -62.73)
CIE-LCHlch(50.24, 83.68, 311.44°)
OKLaboklab(59.5% 0.1117 -0.1781)
OKLCHoklch(59.5% 0.21 302.1)
XYZxyz(30.1195, 18.6174, 75.3905)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854E4 #A0E454
analogous
#5458E4 #9854E4 #E054E4
triadic
#9854E4 #E49854 #54E498
tetradic
#9854E4 #E45458 #A0E454 #54E4E0
square
#9854E4 #E45458 #A0E454 #54E4E0
split-complementary
#9854E4 #E4E054 #58E454
monochromatic
#5B1AA4 #7822D9 #9854E4 #B889EC #D8BEF5

Accessibility & contrast

On white

4.45
#9854E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9854E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854E4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854E4#FFFFFF#000000##000000
##9854E41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#2077E1
Tritanopia (blue-blind)
#897395
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9854e4;
/* rgb */ color: rgb(152, 84, 228);
/* oklch */ color: oklch(59.5% 0.210 302.1);
Tailwind
colors: {
  custom: {
    50: '#bb88ed',
    500: '#9854e4',
    950: '#000000',
  },
}
SCSS
$custom: #9854e4;
$custom-light: #bb88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9854e4",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 268.333,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.595,
    "c": 0.21025,
    "h": 302.1
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#9854E4
secondary
#CBE5AF
accent
#D51178
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9854E4

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

Preview Lab → · Contrast checker → · Palette generator →

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