#9854E8#9854E8

#9854E8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.215 H 301.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9854E8
RGBrgb(152, 84, 232)
HSLhsl(268, 76%, 62%)
HSVhsv(268, 64%, 91%)
CMYKcmyk(34.5%, 63.8%, 0%, 9%)
CIE-LABlab(50.50, 56.34, -64.56)
CIE-LCHlch(50.50, 85.69, 311.11°)
OKLaboklab(59.78% 0.1114 -0.1835)
OKLCHoklch(59.78% 0.215 301.3)
XYZxyz(30.6812, 18.8421, 78.3488)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854E8 #A4E854
analogous
#545AE8 #9854E8 #E254E8
triadic
#9854E8 #E89854 #54E898
tetradic
#9854E8 #E8545A #A4E854 #54E8E2
square
#9854E8 #E8545A #A4E854 #54E8E2
split-complementary
#9854E8 #E8E254 #5AE854
monochromatic
#5B17AB #781EE1 #9854E8 #B88AEF #D9C0F7

Accessibility & contrast

On white

4.40
#9854E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9854E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854E8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854E8#FFFFFF#000000##000000
##9854E81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#1577E5
Tritanopia (blue-blind)
#877597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9854e8;
/* rgb */ color: rgb(152, 84, 232);
/* oklch */ color: oklch(59.8% 0.215 301.3);
Tailwind
colors: {
  custom: {
    50: '#bb88f0',
    500: '#9854e8',
    950: '#000000',
  },
}
SCSS
$custom: #9854e8;
$custom-light: #bb88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9854e8",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 267.568,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.21465,
    "h": 301.3
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#9854E8
secondary
#CEE7B1
accent
#D80D7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9854E8

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

Preview Lab → · Contrast checker → · Palette generator →

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