#9875CB#9875CB

#9875CB is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.2% C 0.130 H 301.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9875CB
RGBrgb(152, 117, 203)
HSLhsl(264, 45%, 63%)
HSVhsv(264, 42%, 80%)
CMYKcmyk(25.1%, 42.4%, 0%, 20.4%)
CIE-LABlab(55.80, 31.30, -39.71)
CIE-LCHlch(55.80, 50.56, 308.25°)
OKLaboklab(63.15% 0.0681 -0.1108)
OKLCHoklch(63.15% 0.13 301.6)
XYZxyz(30.0873, 23.7097, 59.4797)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875CB #A8CB75
analogous
#757DCB #9875CB #C375CB
triadic
#9875CB #CB9875 #75CB98
tetradic
#9875CB #CB757D #A8CB75 #75CBC3
square
#9875CB #CB757D #A8CB75 #75CBC3
split-complementary
#9875CB #CBC375 #7DCB75
monochromatic
#5A3690 #7749BA #9875CB #B9A1DC #DACEEC

Accessibility & contrast

On white

3.66
#9875CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9875CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875CB#FFFFFF#000000##000000
##9875CB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#6685C9
Tritanopia (blue-blind)
#8F8496
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9875cb;
/* rgb */ color: rgb(152, 117, 203);
/* oklch */ color: oklch(63.2% 0.130 301.6);
Tailwind
colors: {
  custom: {
    50: '#b89ddb',
    500: '#9875cb',
    950: '#000000',
  },
}
SCSS
$custom: #9875cb;
$custom-light: #b89ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#9875cb",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 264.419,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.13008,
    "h": 301.6
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

primary
#9875CB
secondary
#D1DDBE
accent
#B82D80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9875CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9875CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva