#9857E4#9857E4

#9857E4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.206 H 301.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9857E4
RGBrgb(152, 87, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 62%, 89%)
CMYKcmyk(33.3%, 61.8%, 0%, 10.6%)
CIE-LABlab(50.80, 53.87, -61.83)
CIE-LCHlch(50.80, 82.00, 311.06°)
OKLaboklab(59.9% 0.1083 -0.1755)
OKLCHoklch(59.9% 0.206 301.7)
XYZxyz(30.3574, 19.0931, 75.4698)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857E4 #A3E457
analogous
#575CE4 #9857E4 #DF57E4
triadic
#9857E4 #E49857 #57E498
tetradic
#9857E4 #E4575C #A3E457 #57E4DF
square
#9857E4 #E4575C #A3E457 #57E4DF
split-complementary
#9857E4 #E4DF57 #5CE457
monochromatic
#5B1BA6 #7823DB #9857E4 #B88CEC #D9C0F5

Accessibility & contrast

On white

4.36
#9857E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9857E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857E4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857E4#FFFFFF#000000##000000
##9857E41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#897596
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9857e4;
/* rgb */ color: rgb(152, 87, 228);
/* oklch */ color: oklch(59.9% 0.206 301.7);
Tailwind
colors: {
  custom: {
    50: '#bb8aed',
    500: '#9857e4',
    950: '#000000',
  },
}
SCSS
$custom: #9857e4;
$custom-light: #bb8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9857e4",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 267.66,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.20621,
    "h": 301.7
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#9857E4
secondary
#CDE6B1
accent
#D4117A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9857E4

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

Preview Lab → · Contrast checker → · Palette generator →

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