#9875C7#9875C7

#9875C7 is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.9% C 0.125 H 302.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9875C7
RGBrgb(152, 117, 199)
HSLhsl(266, 42%, 62%)
HSVhsv(266, 41%, 78%)
CMYKcmyk(23.6%, 41.2%, 0%, 22%)
CIE-LABlab(55.61, 30.33, -37.73)
CIE-LCHlch(55.61, 48.41, 308.80°)
OKLaboklab(62.95% 0.0673 -0.1051)
OKLCHoklch(62.95% 0.125 302.6)
XYZxyz(29.6168, 23.5215, 57.0016)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875C7 #A4C775
analogous
#757BC7 #9875C7 #C175C7
triadic
#9875C7 #C79875 #75C798
tetradic
#9875C7 #C7757B #A4C775 #75C7C1
square
#9875C7 #C7757B #A4C775 #75C7C1
split-complementary
#9875C7 #C7C175 #7BC775
monochromatic
#5B388A #784AB5 #9875C7 #B8A1D9 #D9CCEA

Accessibility & contrast

On white

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

On black

5.70
#9875C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875C7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875C7#FFFFFF#000000##000000
##9875C71.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#908394
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9875c7;
/* rgb */ color: rgb(152, 117, 199);
/* oklch */ color: oklch(62.9% 0.125 302.6);
Tailwind
colors: {
  custom: {
    50: '#b89dd8',
    500: '#9875c7',
    950: '#000000',
  },
}
SCSS
$custom: #9875c7;
$custom-light: #b89dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9875c7",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 199
  },
  "hsl": {
    "h": 265.61,
    "s": 42.268,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62948,
    "c": 0.12485,
    "h": 302.6
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#9875C7
secondary
#CEDBBD
accent
#B5307C
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9875C7

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

Preview Lab → · Contrast checker → · Palette generator →

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