#9857C8#9857C8

#9857C8 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.175 H 308.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9857C8
RGBrgb(152, 87, 200)
HSLhsl(275, 51%, 56%)
HSVhsv(275, 57%, 78%)
CMYKcmyk(24%, 56.5%, 0%, 21.6%)
CIE-LABlab(49.08, 47.26, -48.63)
CIE-LCHlch(49.08, 67.81, 314.18°)
OKLaboklab(58.11% 0.1087 -0.1367)
OKLCHoklch(58.11% 0.175 308.5)
XYZxyz(26.7803, 17.6623, 56.6308)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857C8 #87C857
analogous
#6057C8 #9857C8 #C857C0
triadic
#9857C8 #C89857 #57C898
tetradic
#9857C8 #C86057 #87C857 #57C0C8
square
#9857C8 #C86057 #87C857 #57C0C8
split-complementary
#9857C8 #C0C857 #57C860
monochromatic
#59297C #7A38AA #9857C8 #B485D7 #D1B3E6

Accessibility & contrast

On white

4.63
#9857C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9857C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9857C8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857C8#FFFFFF#000000##FFFFFF
##9857C81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#916C87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9857c8;
/* rgb */ color: rgb(152, 87, 200);
/* oklch */ color: oklch(58.1% 0.175 308.5);
Tailwind
colors: {
  custom: {
    50: '#b989d9',
    500: '#9857c8',
    950: '#000000',
  },
}
SCSS
$custom: #9857c8;
$custom-light: #b989d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9857c8",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 274.513,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.17466,
    "h": 308.5
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#9857C8
secondary
#BAD5A6
accent
#DA4E89
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9857C8

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

Preview Lab → · Contrast checker → · Palette generator →

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