#9952CD#9952CD

#9952CD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.188 H 308.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9952CD
RGBrgb(153, 82, 205)
HSLhsl(275, 55%, 56%)
HSVhsv(275, 60%, 80%)
CMYKcmyk(25.4%, 60%, 0%, 19.6%)
CIE-LABlab(48.53, 51.23, -52.38)
CIE-LCHlch(48.53, 73.27, 314.37°)
OKLaboklab(57.82% 0.1163 -0.1477)
OKLCHoklch(57.82% 0.188 308.2)
XYZxyz(27.1714, 17.2151, 59.6372)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952CD #86CD52
analogous
#5C52CD #9952CD #CD52C4
triadic
#9952CD #CD9952 #52CD99
tetradic
#9952CD #CD5C52 #86CD52 #52C4CD
square
#9952CD #CD5C52 #86CD52 #52C4CD
split-complementary
#9952CD #C4CD52 #52CD5C
monochromatic
#592580 #7B33AF #9952CD #B581DB #D1B1E8

Accessibility & contrast

On white

4.73
#9952CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9952CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9952CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952CD#FFFFFF#000000##FFFFFF
##9952CD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9952cd;
/* rgb */ color: rgb(153, 82, 205);
/* oklch */ color: oklch(57.8% 0.188 308.2);
Tailwind
colors: {
  custom: {
    50: '#ba86dd',
    500: '#9952cd',
    950: '#000000',
  },
}
SCSS
$custom: #9952cd;
$custom-light: #ba86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9952cd",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 274.634,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.18799,
    "h": 308.2
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#9952CD
secondary
#B9D7A4
accent
#DE4988
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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