#9952CF#9952CF

#9952CF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.190 H 307.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9952CF
RGBrgb(153, 82, 207)
HSLhsl(274, 57%, 57%)
HSVhsv(274, 60%, 81%)
CMYKcmyk(26.1%, 60.4%, 0%, 18.8%)
CIE-LABlab(48.65, 51.69, -53.33)
CIE-LCHlch(48.65, 74.27, 314.10°)
OKLaboklab(57.95% 0.1163 -0.1505)
OKLCHoklch(57.95% 0.19 307.7)
XYZxyz(27.4143, 17.3122, 60.9168)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952CF #88CF52
analogous
#5B52CF #9952CF #CF52C7
triadic
#9952CF #CF9952 #52CF99
tetradic
#9952CF #CF5B52 #88CF52 #52C7CF
square
#9952CF #CF5B52 #88CF52 #52C7CF
split-complementary
#9952CF #C7CF52 #52CF5B
monochromatic
#5A2482 #7B31B2 #9952CF #B582DC #D1B2EA

Accessibility & contrast

On white

4.71
#9952CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9952CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9952CF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952CF#FFFFFF#000000##FFFFFF
##9952CF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#916B89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9952cf;
/* rgb */ color: rgb(153, 82, 207);
/* oklch */ color: oklch(58.0% 0.190 307.7);
Tailwind
colors: {
  custom: {
    50: '#bb86de',
    500: '#9952cf',
    950: '#000000',
  },
}
SCSS
$custom: #9952cf;
$custom-light: #bb86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9952cf",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 274.08,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.19018,
    "h": 307.7
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#9952CF
secondary
#BBD8A5
accent
#E0488A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9952CF

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

Preview Lab → · Contrast checker → · Palette generator →

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