#9951CC#9951CC

#9951CC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.188 H 308.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9951CC
RGBrgb(153, 81, 204)
HSLhsl(275, 55%, 56%)
HSVhsv(275, 60%, 80%)
CMYKcmyk(25%, 60.3%, 0%, 20%)
CIE-LABlab(48.28, 51.51, -52.20)
CIE-LCHlch(48.28, 73.34, 314.62°)
OKLaboklab(57.62% 0.1176 -0.1472)
OKLCHoklch(57.62% 0.188 308.6)
XYZxyz(26.9762, 17.0172, 58.9786)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951CC #84CC51
analogous
#5B51CC #9951CC #CC51C1
triadic
#9951CC #CC9951 #51CC99
tetradic
#9951CC #CC5B51 #84CC51 #51C1CC
square
#9951CC #CC5B51 #84CC51 #51C1CC
split-complementary
#9951CC #C1CC51 #51CC5B
monochromatic
#59257E #7A33AD #9951CC #B580DA #D0B0E8

Accessibility & contrast

On white

4.77
#9951CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9951CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9951CC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951CC#FFFFFF#000000##FFFFFF
##9951CC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#3F74C9
Tritanopia (blue-blind)
#926987
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9951cc;
/* rgb */ color: rgb(153, 81, 204);
/* oklch */ color: oklch(57.6% 0.188 308.6);
Tailwind
colors: {
  custom: {
    50: '#ba85dc',
    500: '#9951cc',
    950: '#000000',
  },
}
SCSS
$custom: #9951cc;
$custom-light: #ba85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9951cc",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 275.122,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.18835,
    "h": 308.6
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#9951CC
secondary
#B8D6A3
accent
#DE4A87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9951CC

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

Preview Lab → · Contrast checker → · Palette generator →

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