#9952E1#9952E1

#9952E1 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.210 H 303.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9952E1
RGBrgb(153, 82, 225)
HSLhsl(270, 70%, 60%)
HSVhsv(270, 64%, 88%)
CMYKcmyk(32%, 63.6%, 0%, 11.8%)
CIE-LABlab(49.79, 55.88, -61.75)
CIE-LCHlch(49.79, 83.28, 312.14°)
OKLaboklab(59.14% 0.1155 -0.1752)
OKLCHoklch(59.14% 0.21 303.4)
XYZxyz(29.7417, 18.2432, 73.1740)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952E1 #9AE152
analogous
#5253E1 #9952E1 #E052E1
triadic
#9952E1 #E19952 #52E199
tetradic
#9952E1 #E15253 #9AE152 #52E1E0
square
#9952E1 #E15253 #9AE152 #52E1E0
split-complementary
#9952E1 #E1E052 #53E152
monochromatic
#5C1B9D #7A24D1 #9952E1 #B886EA #D7BAF3

Accessibility & contrast

On white

4.52
#9952E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9952E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952E1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952E1#FFFFFF#000000##000000
##9952E11.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2476DE
Tritanopia (blue-blind)
#8B7192
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9952e1;
/* rgb */ color: rgb(153, 82, 225);
/* oklch */ color: oklch(59.1% 0.210 303.4);
Tailwind
colors: {
  custom: {
    50: '#bc87eb',
    500: '#9952e1',
    950: '#000000',
  },
}
SCSS
$custom: #9952e1;
$custom-light: #bc87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9952e1",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 269.79,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5914,
    "c": 0.20983,
    "h": 303.4
  },
  "luminance": 0.18243
}

Semantic roles & 50–950 ramp

primary
#9952E1
secondary
#C8E3AC
accent
#D21373
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9952E1

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

Preview Lab → · Contrast checker → · Palette generator →

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