#9952DC#9952DC

#9952DC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.204 H 304.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9952DC
RGBrgb(153, 82, 220)
HSLhsl(271, 66%, 59%)
HSVhsv(271, 63%, 86%)
CMYKcmyk(30.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(49.46, 54.70, -59.44)
CIE-LCHlch(49.46, 80.78, 312.62°)
OKLaboklab(58.8% 0.1158 -0.1684)
OKLCHoklch(58.8% 0.204 304.5)
XYZxyz(29.0696, 17.9743, 69.6342)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952DC #95DC52
analogous
#5452DC #9952DC #DC52DA
triadic
#9952DC #DC9952 #52DC99
tetradic
#9952DC #DC5452 #95DC52 #52DADC
square
#9952DC #DC5452 #95DC52 #52DADC
split-complementary
#9952DC #DADC52 #52DC54
monochromatic
#5C1E95 #7B29C8 #9952DC #B785E6 #D5B8F1

Accessibility & contrast

On white

4.57
#9952DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9952DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952DC#FFFFFF#000000##000000
##9952DC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#8D6F90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9952dc;
/* rgb */ color: rgb(153, 82, 220);
/* oklch */ color: oklch(58.8% 0.204 304.5);
Tailwind
colors: {
  custom: {
    50: '#bb86e8',
    500: '#9952dc',
    950: '#000000',
  },
}
SCSS
$custom: #9952dc;
$custom-light: #bb86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9952dc",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 270.87,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58802,
    "c": 0.20438,
    "h": 304.5
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#9952DC
secondary
#C4E0AA
accent
#E93F91
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9952DC

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

Preview Lab → · Contrast checker → · Palette generator →

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