#9952CB#9952CB

#9952CB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.186 H 308.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9952CB
RGBrgb(153, 82, 203)
HSLhsl(275, 54%, 56%)
HSVhsv(275, 60%, 80%)
CMYKcmyk(24.6%, 59.6%, 0%, 20.4%)
CIE-LABlab(48.41, 50.78, -51.42)
CIE-LCHlch(48.41, 72.27, 314.64°)
OKLaboklab(57.7% 0.1163 -0.1449)
OKLCHoklch(57.7% 0.186 308.8)
XYZxyz(26.9315, 17.1191, 58.3739)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952CB #84CB52
analogous
#5C52CB #9952CB #CB52C0
triadic
#9952CB #CB9952 #52CB99
tetradic
#9952CB #CB5C52 #84CB52 #52C0CB
square
#9952CB #CB5C52 #84CB52 #52C0CB
split-complementary
#9952CB #C0CB52 #52CB5C
monochromatic
#59267D #7A34AC #9952CB #B581D9 #D0B0E7

Accessibility & contrast

On white

4.75
#9952CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9952CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9952CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952CB#FFFFFF#000000##FFFFFF
##9952CB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#926987
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9952cb;
/* rgb */ color: rgb(153, 82, 203);
/* oklch */ color: oklch(57.7% 0.186 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba86db',
    500: '#9952cb',
    950: '#000000',
  },
}
SCSS
$custom: #9952cb;
$custom-light: #ba86db;
$custom-dark: #000000;
JSON
{
  "hex": "#9952cb",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 275.207,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.1858,
    "h": 308.8
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#9952CB
secondary
#B8D5A3
accent
#DD4B87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9952CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9952CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva