#9875CF#9875CF

#9875CF is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.4% C 0.135 H 300.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9875CF
RGBrgb(152, 117, 207)
HSLhsl(263, 48%, 64%)
HSVhsv(263, 43%, 81%)
CMYKcmyk(26.6%, 43.5%, 0%, 18.8%)
CIE-LABlab(55.99, 32.27, -41.67)
CIE-LCHlch(55.99, 52.70, 307.76°)
OKLaboklab(63.36% 0.0687 -0.1165)
OKLCHoklch(63.36% 0.135 300.5)
XYZxyz(30.5701, 23.9029, 62.0226)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875CF #ACCF75
analogous
#757FCF #9875CF #C575CF
triadic
#9875CF #CF9875 #75CF98
tetradic
#9875CF #CF757F #ACCF75 #75CFC5
square
#9875CF #CF757F #ACCF75 #75CFC5
split-complementary
#9875CF #CFC575 #7FCF75
monochromatic
#5A3496 #7648BF #9875CF #BAA2DF #DCD0EF

Accessibility & contrast

On white

3.63
#9875CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9875CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875CF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875CF#FFFFFF#000000##000000
##9875CF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#6486CD
Tritanopia (blue-blind)
#8E8598
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9875cf;
/* rgb */ color: rgb(152, 117, 207);
/* oklch */ color: oklch(63.4% 0.135 300.5);
Tailwind
colors: {
  custom: {
    50: '#b89dde',
    500: '#9875cf',
    950: '#000000',
  },
}
SCSS
$custom: #9875cf;
$custom-light: #b89dde;
$custom-dark: #000000;
JSON
{
  "hex": "#9875cf",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 207
  },
  "hsl": {
    "h": 263.333,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63364,
    "c": 0.1353,
    "h": 300.5
  },
  "luminance": 0.23903
}

Semantic roles & 50–950 ramp

primary
#9875CF
secondary
#D3E0C0
accent
#BC2A83
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9875CF

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

Preview Lab → · Contrast checker → · Palette generator →

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