#9857EE#9857EE

#9857EE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.217 H 299.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9857EE
RGBrgb(152, 87, 238)
HSLhsl(266, 82%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(36.1%, 63.4%, 0%, 6.7%)
CIE-LABlab(51.46, 56.30, -66.39)
CIE-LCHlch(51.46, 87.05, 310.30°)
OKLaboklab(60.59% 0.1076 -0.1889)
OKLCHoklch(60.59% 0.217 299.7)
XYZxyz(31.7859, 19.6645, 82.9933)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857EE #ADEE57
analogous
#5761EE #9857EE #E457EE
triadic
#9857EE #EE9857 #57EE98
tetradic
#9857EE #EE5761 #ADEE57 #57EEE4
square
#9857EE #EE5761 #ADEE57 #57EEE4
split-complementary
#9857EE #EEE457 #61EE57
monochromatic
#5A13B8 #761FE8 #9857EE #BA8FF4 #DCC6F9

Accessibility & contrast

On white

4.26
#9857EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9857EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857EE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857EE#FFFFFF#000000##000000
##9857EE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0879EB
Tritanopia (blue-blind)
#85799B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9857ee;
/* rgb */ color: rgb(152, 87, 238);
/* oklch */ color: oklch(60.6% 0.217 299.7);
Tailwind
colors: {
  custom: {
    50: '#bc8af4',
    500: '#9857ee',
    950: '#000000',
  },
}
SCSS
$custom: #9857ee;
$custom-light: #bc8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9857ee",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 265.828,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60592,
    "c": 0.21737,
    "h": 299.7
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#9857EE
secondary
#D4EBB6
accent
#DE0882
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9857EE

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

Preview Lab → · Contrast checker → · Palette generator →

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