#9956CB#9956CB

#9956CB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.180 H 308.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9956CB
RGBrgb(153, 86, 203)
HSLhsl(274, 53%, 57%)
HSVhsv(274, 58%, 80%)
CMYKcmyk(24.6%, 57.6%, 0%, 20.4%)
CIE-LABlab(49.18, 48.72, -50.19)
CIE-LCHlch(49.18, 69.95, 314.15°)
OKLaboklab(58.26% 0.1113 -0.1413)
OKLCHoklch(58.26% 0.18 308.2)
XYZxyz(27.2420, 17.7401, 58.4774)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956CB #88CB56
analogous
#5F56CB #9956CB #CB56C3
triadic
#9956CB #CB9956 #56CB99
tetradic
#9956CB #CB5F56 #88CB56 #56C3CB
square
#9956CB #CB5F56 #88CB56 #56C3CB
split-complementary
#9956CB #C3CB56 #56CB5F
monochromatic
#5A277F #7B36AE #9956CB #B585D9 #D1B4E8

Accessibility & contrast

On white

4.62
#9956CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9956CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9956CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956CB#FFFFFF#000000##FFFFFF
##9956CB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#926C88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9956cb;
/* rgb */ color: rgb(153, 86, 203);
/* oklch */ color: oklch(58.3% 0.180 308.2);
Tailwind
colors: {
  custom: {
    50: '#ba88db',
    500: '#9956cb',
    950: '#000000',
  },
}
SCSS
$custom: #9956cb;
$custom-light: #ba88db;
$custom-dark: #000000;
JSON
{
  "hex": "#9956cb",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 274.359,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.17986,
    "h": 308.2
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#9956CB
secondary
#BBD6A6
accent
#DC4B89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9956CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9956CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva