#9857CF#9857CF

#9857CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.183 H 306.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9857CF
RGBrgb(152, 87, 207)
HSLhsl(273, 56%, 58%)
HSVhsv(273, 58%, 81%)
CMYKcmyk(26.6%, 58%, 0%, 18.8%)
CIE-LABlab(49.49, 48.87, -51.99)
CIE-LCHlch(49.49, 71.36, 313.23°)
OKLaboklab(58.54% 0.1088 -0.1466)
OKLCHoklch(58.54% 0.183 306.6)
XYZxyz(27.6172, 17.9971, 61.0383)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857CF #8ECF57
analogous
#5C57CF #9857CF #CF57CA
triadic
#9857CF #CF9857 #57CF98
tetradic
#9857CF #CF5C57 #8ECF57 #57CACF
square
#9857CF #CF5C57 #8ECF57 #57CACF
split-complementary
#9857CF #CACF57 #57CF5C
monochromatic
#5A2685 #7A34B5 #9857CF #B587DD #D2B6EA

Accessibility & contrast

On white

4.57
#9857CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9857CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857CF#FFFFFF#000000##000000
##9857CF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#8F6E8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9857cf;
/* rgb */ color: rgb(152, 87, 207);
/* oklch */ color: oklch(58.5% 0.183 306.6);
Tailwind
colors: {
  custom: {
    50: '#ba89de',
    500: '#9857cf',
    950: '#000000',
  },
}
SCSS
$custom: #9857cf;
$custom-light: #ba89de;
$custom-dark: #000000;
JSON
{
  "hex": "#9857cf",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 272.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.18257,
    "h": 306.6
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#9857CF
secondary
#BFD9A9
accent
#DF498E
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9857CF

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

Preview Lab → · Contrast checker → · Palette generator →

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