#9952DB#9952DB

#9952DB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.203 H 304.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9952DB
RGBrgb(153, 82, 219)
HSLhsl(271, 66%, 59%)
HSVhsv(271, 63%, 86%)
CMYKcmyk(30.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(49.40, 54.47, -58.98)
CIE-LCHlch(49.40, 80.28, 312.72°)
OKLaboklab(58.74% 0.1159 -0.167)
OKLCHoklch(58.74% 0.203 304.7)
XYZxyz(28.9375, 17.9215, 68.9388)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952DB #94DB52
analogous
#5552DB #9952DB #DB52D8
triadic
#9952DB #DB9952 #52DB99
tetradic
#9952DB #DB5552 #94DB52 #52D8DB
square
#9952DB #DB5552 #94DB52 #52D8DB
split-complementary
#9952DB #D8DB52 #52DB55
monochromatic
#5B1F94 #7B29C6 #9952DB #B785E6 #D5B7F0

Accessibility & contrast

On white

4.58
#9952DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9952DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952DB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952DB#FFFFFF#000000##000000
##9952DB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#8D6F8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9952db;
/* rgb */ color: rgb(153, 82, 219);
/* oklch */ color: oklch(58.7% 0.203 304.7);
Tailwind
colors: {
  custom: {
    50: '#bb86e7',
    500: '#9952db',
    950: '#000000',
  },
}
SCSS
$custom: #9952db;
$custom-light: #bb86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9952db",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 271.095,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.20329,
    "h": 304.7
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#9952DB
secondary
#C3DFAA
accent
#E93F91
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9952DB

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

Preview Lab → · Contrast checker → · Palette generator →

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