#9875C8#9875C8

#9875C8 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.0% C 0.126 H 302.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9875C8
RGBrgb(152, 117, 200)
HSLhsl(265, 43%, 62%)
HSVhsv(265, 42%, 78%)
CMYKcmyk(24%, 41.5%, 0%, 21.6%)
CIE-LABlab(55.65, 30.57, -38.23)
CIE-LCHlch(55.65, 48.95, 308.65°)
OKLaboklab(63% 0.0675 -0.1066)
OKLCHoklch(63% 0.126 302.4)
XYZxyz(29.7332, 23.5681, 57.6151)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875C8 #A5C875
analogous
#757CC8 #9875C8 #C175C8
triadic
#9875C8 #C89875 #75C898
tetradic
#9875C8 #C8757C #A5C875 #75C8C1
square
#9875C8 #C8757C #A5C875 #75C8C1
split-complementary
#9875C8 #C8C175 #7CC875
monochromatic
#5B378B #7749B7 #9875C8 #B9A1D9 #D9CDEB

Accessibility & contrast

On white

3.68
#9875C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9875C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875C8#FFFFFF#000000##000000
##9875C81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#908395
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9875c8;
/* rgb */ color: rgb(152, 117, 200);
/* oklch */ color: oklch(63.0% 0.126 302.4);
Tailwind
colors: {
  custom: {
    50: '#b89dd9',
    500: '#9875c8',
    950: '#000000',
  },
}
SCSS
$custom: #9875c8;
$custom-light: #b89dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9875c8",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 200
  },
  "hsl": {
    "h": 265.301,
    "s": 43.005,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62999,
    "c": 0.12616,
    "h": 302.4
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

primary
#9875C8
secondary
#CFDCBD
accent
#B62F7D
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9875C8

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

Preview Lab → · Contrast checker → · Palette generator →

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