#9875CD#9875CD

#9875CD is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.3% C 0.133 H 301.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9875CD
RGBrgb(152, 117, 205)
HSLhsl(264, 47%, 63%)
HSVhsv(264, 43%, 80%)
CMYKcmyk(25.9%, 42.9%, 0%, 19.6%)
CIE-LABlab(55.89, 31.78, -40.69)
CIE-LCHlch(55.89, 51.63, 307.99°)
OKLaboklab(63.26% 0.0684 -0.1137)
OKLCHoklch(63.26% 0.133 301)
XYZxyz(30.3272, 23.8057, 60.7430)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875CD #AACD75
analogous
#757ECD #9875CD #C475CD
triadic
#9875CD #CD9875 #75CD98
tetradic
#9875CD #CD757E #AACD75 #75CDC4
square
#9875CD #CD757E #AACD75 #75CDC4
split-complementary
#9875CD #CDC475 #7ECD75
monochromatic
#5A3593 #7648BD #9875CD #BAA2DD #DBCFEE

Accessibility & contrast

On white

3.65
#9875CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9875CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875CD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875CD#FFFFFF#000000##000000
##9875CD1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#8E8497
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9875cd;
/* rgb */ color: rgb(152, 117, 205);
/* oklch */ color: oklch(63.3% 0.133 301.0);
Tailwind
colors: {
  custom: {
    50: '#b89ddc',
    500: '#9875cd',
    950: '#000000',
  },
}
SCSS
$custom: #9875cd;
$custom-light: #b89ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#9875cd",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 263.864,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63259,
    "c": 0.13269,
    "h": 301
  },
  "luminance": 0.23806
}

Semantic roles & 50–950 ramp

primary
#9875CD
secondary
#D2DFBF
accent
#BA2B81
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9875CD

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

Preview Lab → · Contrast checker → · Palette generator →

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