#9857BF#9857BF

#9857BF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.165 H 311.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9857BF
RGBrgb(152, 87, 191)
HSLhsl(278, 45%, 55%)
HSVhsv(278, 54%, 75%)
CMYKcmyk(20.4%, 54.5%, 0%, 25.1%)
CIE-LABlab(48.58, 45.22, -44.24)
CIE-LCHlch(48.58, 63.26, 315.63°)
OKLaboklab(57.57% 0.1082 -0.1239)
OKLCHoklch(57.57% 0.165 311.1)
XYZxyz(25.7593, 17.2539, 51.2535)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857BF #7EBF57
analogous
#6457BF #9857BF #BF57B2
triadic
#9857BF #BF9857 #57BF98
tetradic
#9857BF #BF6457 #7EBF57 #57B2BF
square
#9857BF #BF6457 #7EBF57 #57B2BF
split-complementary
#9857BF #B2BF57 #57BF64
monochromatic
#572B71 #793C9D #9857BF #B383D0 #CEB0E1

Accessibility & contrast

On white

4.72
#9857BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9857BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9857BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857BF#FFFFFF#000000##FFFFFF
##9857BF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#4F75BC
Tritanopia (blue-blind)
#936983
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9857bf;
/* rgb */ color: rgb(152, 87, 191);
/* oklch */ color: oklch(57.6% 0.165 311.1);
Tailwind
colors: {
  custom: {
    50: '#b989d3',
    500: '#9857bf',
    950: '#000000',
  },
}
SCSS
$custom: #9857bf;
$custom-light: #b989d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9857bf",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 277.5,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.16453,
    "h": 311.1
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#9857BF
secondary
#B3CFA3
accent
#D55384
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9857BF

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

Preview Lab → · Contrast checker → · Palette generator →

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