#9857CE#9857CE

#9857CE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.181 H 306.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9857CE
RGBrgb(152, 87, 206)
HSLhsl(273, 55%, 57%)
HSVhsv(273, 58%, 81%)
CMYKcmyk(26.2%, 57.8%, 0%, 19.2%)
CIE-LABlab(49.43, 48.64, -51.51)
CIE-LCHlch(49.43, 70.85, 313.36°)
OKLaboklab(58.48% 0.1088 -0.1452)
OKLCHoklch(58.48% 0.181 306.8)
XYZxyz(27.4954, 17.9483, 60.3964)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857CE #8DCE57
analogous
#5C57CE #9857CE #CE57C9
triadic
#9857CE #CE9857 #57CE98
tetradic
#9857CE #CE5C57 #8DCE57 #57C9CE
square
#9857CE #CE5C57 #8DCE57 #57C9CE
split-complementary
#9857CE #C9CE57 #57CE5C
monochromatic
#5A2784 #7A34B3 #9857CE #B586DC #D2B6EA

Accessibility & contrast

On white

4.58
#9857CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9857CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857CE#FFFFFF#000000##000000
##9857CE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#8F6E8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9857ce;
/* rgb */ color: rgb(152, 87, 206);
/* oklch */ color: oklch(58.5% 0.181 306.8);
Tailwind
colors: {
  custom: {
    50: '#ba89dd',
    500: '#9857ce',
    950: '#000000',
  },
}
SCSS
$custom: #9857ce;
$custom-light: #ba89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9857ce",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 272.773,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.18145,
    "h": 306.8
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#9857CE
secondary
#BED8A8
accent
#DE4A8D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9857CE

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

Preview Lab → · Contrast checker → · Palette generator →

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