#9875CA#9875CA

#9875CA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.1% C 0.129 H 301.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9875CA
RGBrgb(152, 117, 202)
HSLhsl(265, 45%, 63%)
HSVhsv(265, 42%, 79%)
CMYKcmyk(24.8%, 42.1%, 0%, 20.8%)
CIE-LABlab(55.75, 31.05, -39.21)
CIE-LCHlch(55.75, 50.02, 308.38°)
OKLaboklab(63.1% 0.0679 -0.1094)
OKLCHoklch(63.1% 0.129 301.8)
XYZxyz(29.9685, 23.6622, 58.8541)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875CA #A7CA75
analogous
#757CCA #9875CA #C375CA
triadic
#9875CA #CA9875 #75CA98
tetradic
#9875CA #CA757C #A7CA75 #75CAC3
square
#9875CA #CA757C #A7CA75 #75CAC3
split-complementary
#9875CA #CAC375 #7CCA75
monochromatic
#5B378E #7749B9 #9875CA #B9A1DB #DACDEC

Accessibility & contrast

On white

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

On black

5.73
#9875CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875CA#FFFFFF#000000##000000
##9875CA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#8F8396
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9875ca;
/* rgb */ color: rgb(152, 117, 202);
/* oklch */ color: oklch(63.1% 0.129 301.8);
Tailwind
colors: {
  custom: {
    50: '#b89dda',
    500: '#9875ca',
    950: '#000000',
  },
}
SCSS
$custom: #9875ca;
$custom-light: #b89dda;
$custom-dark: #000000;
JSON
{
  "hex": "#9875ca",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 264.706,
    "s": 44.503,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63102,
    "c": 0.12877,
    "h": 301.8
  },
  "luminance": 0.23662
}

Semantic roles & 50–950 ramp

primary
#9875CA
secondary
#D0DDBE
accent
#B82E7F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9875CA

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

Preview Lab → · Contrast checker → · Palette generator →

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