#9857CD#9857CD

#9857CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.180 H 307.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9857CD
RGBrgb(152, 87, 205)
HSLhsl(273, 54%, 57%)
HSVhsv(273, 58%, 80%)
CMYKcmyk(25.9%, 57.6%, 0%, 19.6%)
CIE-LABlab(49.37, 48.41, -51.03)
CIE-LCHlch(49.37, 70.34, 313.49°)
OKLaboklab(58.41% 0.1088 -0.1438)
OKLCHoklch(58.41% 0.18 307.1)
XYZxyz(27.3743, 17.8999, 59.7587)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857CD #8CCD57
analogous
#5D57CD #9857CD #CD57C7
triadic
#9857CD #CD9857 #57CD98
tetradic
#9857CD #CD5D57 #8CCD57 #57C7CD
square
#9857CD #CD5D57 #8CCD57 #57C7CD
split-complementary
#9857CD #C7CD57 #57CD5D
monochromatic
#592783 #7A35B2 #9857CD #B586DB #D2B5E9

Accessibility & contrast

On white

4.59
#9857CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9857CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9857CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857CD#FFFFFF#000000##FFFFFF
##9857CD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#906D8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9857cd;
/* rgb */ color: rgb(152, 87, 205);
/* oklch */ color: oklch(58.4% 0.180 307.1);
Tailwind
colors: {
  custom: {
    50: '#b989dd',
    500: '#9857cd',
    950: '#000000',
  },
}
SCSS
$custom: #9857cd;
$custom-light: #b989dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9857cd",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 273.051,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.18031,
    "h": 307.1
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#9857CD
secondary
#BDD8A8
accent
#DD4A8C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9857CD

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

Preview Lab → · Contrast checker → · Palette generator →

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