#9956CD#9956CD

#9956CD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.182 H 307.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9956CD
RGBrgb(153, 86, 205)
HSLhsl(274, 54%, 57%)
HSVhsv(274, 58%, 80%)
CMYKcmyk(25.4%, 58%, 0%, 19.6%)
CIE-LABlab(49.30, 49.18, -51.15)
CIE-LCHlch(49.30, 70.96, 313.87°)
OKLaboklab(58.38% 0.1113 -0.1441)
OKLCHoklch(58.38% 0.182 307.7)
XYZxyz(27.4819, 17.8360, 59.7407)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956CD #8ACD56
analogous
#5E56CD #9956CD #CD56C5
triadic
#9956CD #CD9956 #56CD99
tetradic
#9956CD #CD5E56 #8ACD56 #56C5CD
square
#9956CD #CD5E56 #8ACD56 #56C5CD
split-complementary
#9956CD #C5CD56 #56CD5E
monochromatic
#5A2682 #7B34B1 #9956CD #B685DB #D2B4E9

Accessibility & contrast

On white

4.60
#9956CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9956CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9956CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956CD#FFFFFF#000000##FFFFFF
##9956CD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#916D89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9956cd;
/* rgb */ color: rgb(153, 86, 205);
/* oklch */ color: oklch(58.4% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#ba89dd',
    500: '#9956cd',
    950: '#000000',
  },
}
SCSS
$custom: #9956cd;
$custom-light: #ba89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9956cd",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 273.782,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.1821,
    "h": 307.7
  },
  "luminance": 0.17836
}

Semantic roles & 50–950 ramp

primary
#9956CD
secondary
#BCD8A7
accent
#DE4A8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9956CD

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

Preview Lab → · Contrast checker → · Palette generator →

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