#9857BE#9857BE

#9857BE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.163 H 311.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9857BE
RGBrgb(152, 87, 190)
HSLhsl(278, 44%, 54%)
HSVhsv(278, 54%, 75%)
CMYKcmyk(20%, 54.2%, 0%, 25.5%)
CIE-LABlab(48.52, 44.99, -43.74)
CIE-LCHlch(48.52, 62.75, 315.81°)
OKLaboklab(57.52% 0.1082 -0.1225)
OKLCHoklch(57.52% 0.163 311.4)
XYZxyz(25.6497, 17.2100, 50.6759)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857BE #7DBE57
analogous
#6557BE #9857BE #BE57B1
triadic
#9857BE #BE9857 #57BE98
tetradic
#9857BE #BE6557 #7DBE57 #57B1BE
square
#9857BE #BE6557 #7DBE57 #57B1BE
split-complementary
#9857BE #B1BE57 #57BE65
monochromatic
#562B6F #783C9C #9857BE #B383CF #CEAFE0

Accessibility & contrast

On white

4.73
#9857BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9857BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9857BE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857BE#FFFFFF#000000##FFFFFF
##9857BE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#5075BB
Tritanopia (blue-blind)
#946982
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9857be;
/* rgb */ color: rgb(152, 87, 190);
/* oklch */ color: oklch(57.5% 0.163 311.4);
Tailwind
colors: {
  custom: {
    50: '#b989d2',
    500: '#9857be',
    950: '#000000',
  },
}
SCSS
$custom: #9857be;
$custom-light: #b989d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9857be",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 277.864,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.1634,
    "h": 311.4
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#9857BE
secondary
#B3CEA3
accent
#D45483
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9857BE

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

Preview Lab → · Contrast checker → · Palette generator →

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