#9951CD#9951CD

#9951CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.189 H 308.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9951CD
RGBrgb(153, 81, 205)
HSLhsl(275, 55%, 56%)
HSVhsv(275, 60%, 80%)
CMYKcmyk(25.4%, 60.5%, 0%, 19.6%)
CIE-LABlab(48.34, 51.74, -52.68)
CIE-LCHlch(48.34, 73.84, 314.48°)
OKLaboklab(57.69% 0.1175 -0.1486)
OKLCHoklch(57.69% 0.189 308.4)
XYZxyz(27.0965, 17.0653, 59.6123)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951CD #85CD51
analogous
#5B51CD #9951CD #CD51C3
triadic
#9951CD #CD9951 #51CD99
tetradic
#9951CD #CD5B51 #85CD51 #51C3CD
square
#9951CD #CD5B51 #85CD51 #51C3CD
split-complementary
#9951CD #C3CD51 #51CD5B
monochromatic
#59257F #7A32AF #9951CD #B581DB #D1B0E8

Accessibility & contrast

On white

4.76
#9951CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9951CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9951CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951CD#FFFFFF#000000##FFFFFF
##9951CD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#916987
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9951cd;
/* rgb */ color: rgb(153, 81, 205);
/* oklch */ color: oklch(57.7% 0.189 308.4);
Tailwind
colors: {
  custom: {
    50: '#ba85dd',
    500: '#9951cd',
    950: '#000000',
  },
}
SCSS
$custom: #9951cd;
$custom-light: #ba85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9951cd",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 274.839,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.18944,
    "h": 308.4
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#9951CD
secondary
#B9D7A3
accent
#DF4988
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9951CD

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

Preview Lab → · Contrast checker → · Palette generator →

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