#9952C8#9952C8

#9952C8 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.183 H 309.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9952C8
RGBrgb(153, 82, 200)
HSLhsl(276, 52%, 55%)
HSVhsv(276, 59%, 78%)
CMYKcmyk(23.5%, 59%, 0%, 21.6%)
CIE-LABlab(48.23, 50.10, -49.98)
CIE-LCHlch(48.23, 70.77, 315.07°)
OKLaboklab(57.51% 0.1163 -0.1407)
OKLCHoklch(57.51% 0.183 309.6)
XYZxyz(26.5775, 16.9775, 56.5093)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952C8 #81C852
analogous
#5E52C8 #9952C8 #C852BC
triadic
#9952C8 #C89952 #52C899
tetradic
#9952C8 #C85E52 #81C852 #52BCC8
square
#9952C8 #C85E52 #81C852 #52BCC8
split-complementary
#9952C8 #BCC852 #52C85E
monochromatic
#582779 #7A35A8 #9952C8 #B480D7 #D0AFE6

Accessibility & contrast

On white

4.78
#9952C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9952C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9952C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952C8#FFFFFF#000000##FFFFFF
##9952C81.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266FCC
Deuteranopia (green-blind)
#4474C5
Tritanopia (blue-blind)
#936885
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9952c8;
/* rgb */ color: rgb(153, 82, 200);
/* oklch */ color: oklch(57.5% 0.183 309.6);
Tailwind
colors: {
  custom: {
    50: '#ba86d9',
    500: '#9952c8',
    950: '#000000',
  },
}
SCSS
$custom: #9952c8;
$custom-light: #ba86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9952c8",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 276.102,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.18253,
    "h": 309.6
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#9952C8
secondary
#B6D4A2
accent
#DB4D85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9952C8

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

Preview Lab → · Contrast checker → · Palette generator →

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