#9952CE#9952CE

#9952CE is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.189 H 308.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9952CE
RGBrgb(153, 82, 206)
HSLhsl(274, 56%, 56%)
HSVhsv(274, 60%, 81%)
CMYKcmyk(25.7%, 60.2%, 0%, 19.2%)
CIE-LABlab(48.59, 51.46, -52.86)
CIE-LCHlch(48.59, 73.77, 314.23°)
OKLaboklab(57.89% 0.1163 -0.1491)
OKLCHoklch(57.89% 0.189 308)
XYZxyz(27.2925, 17.2635, 60.2750)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952CE #87CE52
analogous
#5B52CE #9952CE #CE52C5
triadic
#9952CE #CE9952 #52CE99
tetradic
#9952CE #CE5B52 #87CE52 #52C5CE
square
#9952CE #CE5B52 #87CE52 #52C5CE
split-complementary
#9952CE #C5CE52 #52CE5B
monochromatic
#5A2581 #7B32B1 #9952CE #B582DC #D1B1E9

Accessibility & contrast

On white

4.72
#9952CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9952CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9952CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952CE#FFFFFF#000000##FFFFFF
##9952CE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#916A88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9952ce;
/* rgb */ color: rgb(153, 82, 206);
/* oklch */ color: oklch(57.9% 0.189 308.0);
Tailwind
colors: {
  custom: {
    50: '#ba86de',
    500: '#9952ce',
    950: '#000000',
  },
}
SCSS
$custom: #9952ce;
$custom-light: #ba86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9952ce",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 274.355,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.18908,
    "h": 308
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#9952CE
secondary
#BAD7A4
accent
#DF4989
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9952CE

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

Preview Lab → · Contrast checker → · Palette generator →

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