#9857E9#9857E9

#9857E9 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.212 H 300.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9857E9
RGBrgb(152, 87, 233)
HSLhsl(267, 77%, 63%)
HSVhsv(267, 63%, 91%)
CMYKcmyk(34.8%, 62.7%, 0%, 8.6%)
CIE-LABlab(51.12, 55.08, -64.12)
CIE-LCHlch(51.12, 84.53, 310.66°)
OKLaboklab(60.25% 0.108 -0.1822)
OKLCHoklch(60.25% 0.212 300.7)
XYZxyz(31.0615, 19.3748, 79.1783)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857E9 #A8E957
analogous
#575FE9 #9857E9 #E157E9
triadic
#9857E9 #E99857 #57E998
tetradic
#9857E9 #E9575F #A8E957 #57E9E1
square
#9857E9 #E9575F #A8E957 #57E9E1
split-complementary
#9857E9 #E9E157 #5FE957
monochromatic
#5A17AF #7721E2 #9857E9 #B98DF0 #DAC3F7

Accessibility & contrast

On white

4.31
#9857E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9857E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857E9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857E9#FFFFFF#000000##000000
##9857E91.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#1C79E6
Tritanopia (blue-blind)
#877798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9857e9;
/* rgb */ color: rgb(152, 87, 233);
/* oklch */ color: oklch(60.2% 0.212 300.7);
Tailwind
colors: {
  custom: {
    50: '#bb8af1',
    500: '#9857e9',
    950: '#000000',
  },
}
SCSS
$custom: #9857e9;
$custom-light: #bb8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9857e9",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 266.712,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.2118,
    "h": 300.7
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#9857E9
secondary
#D1E8B3
accent
#D90C7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9857E9

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

Preview Lab → · Contrast checker → · Palette generator →

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