#9952DF#9952DF

#9952DF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.208 H 303.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9952DF
RGBrgb(153, 82, 223)
HSLhsl(270, 69%, 60%)
HSVhsv(270, 63%, 87%)
CMYKcmyk(31.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(49.66, 55.40, -60.83)
CIE-LCHlch(49.66, 82.28, 312.33°)
OKLaboklab(59% 0.1156 -0.1725)
OKLCHoklch(59% 0.208 303.8)
XYZxyz(29.4704, 18.1347, 71.7455)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952DF #98DF52
analogous
#5352DF #9952DF #DF52DE
triadic
#9952DF #DF9952 #52DF99
tetradic
#9952DF #DF5352 #98DF52 #52DEDF
square
#9952DF #DF5352 #98DF52 #52DEDF
split-complementary
#9952DF #DEDF52 #52DF53
monochromatic
#5C1D9A #7A26CE #9952DF #B786E9 #D6B9F2

Accessibility & contrast

On white

4.54
#9952DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9952DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952DF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952DF#FFFFFF#000000##000000
##9952DF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2876DC
Tritanopia (blue-blind)
#8C7091
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9952df;
/* rgb */ color: rgb(153, 82, 223);
/* oklch */ color: oklch(59.0% 0.208 303.8);
Tailwind
colors: {
  custom: {
    50: '#bc86ea',
    500: '#9952df',
    950: '#000000',
  },
}
SCSS
$custom: #9952df;
$custom-light: #bc86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9952df",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 270.213,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.20765,
    "h": 303.8
  },
  "luminance": 0.18135
}

Semantic roles & 50–950 ramp

primary
#9952DF
secondary
#C6E2AB
accent
#EC3C93
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9952DF

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

Preview Lab → · Contrast checker → · Palette generator →

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