#9956CE#9956CE

#9956CE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.183 H 307.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9956CE
RGBrgb(153, 86, 206)
HSLhsl(274, 55%, 57%)
HSVhsv(274, 58%, 81%)
CMYKcmyk(25.7%, 58.3%, 0%, 19.2%)
CIE-LABlab(49.36, 49.41, -51.63)
CIE-LCHlch(49.36, 71.46, 313.74°)
OKLaboklab(58.45% 0.1113 -0.1455)
OKLCHoklch(58.45% 0.183 307.4)
XYZxyz(27.6030, 17.8844, 60.3785)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956CE #8BCE56
analogous
#5D56CE #9956CE #CE56C7
triadic
#9956CE #CE9956 #56CE99
tetradic
#9956CE #CE5D56 #8BCE56 #56C7CE
square
#9956CE #CE5D56 #8BCE56 #56C7CE
split-complementary
#9956CE #C7CE56 #56CE5D
monochromatic
#5A2683 #7B34B3 #9956CE #B685DC #D2B5EA

Accessibility & contrast

On white

4.59
#9956CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9956CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9956CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956CE#FFFFFF#000000##FFFFFF
##9956CE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#916D8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9956ce;
/* rgb */ color: rgb(153, 86, 206);
/* oklch */ color: oklch(58.4% 0.183 307.4);
Tailwind
colors: {
  custom: {
    50: '#ba89dd',
    500: '#9956ce',
    950: '#000000',
  },
}
SCSS
$custom: #9956ce;
$custom-light: #ba89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9956ce",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 273.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.18322,
    "h": 307.4
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#9956CE
secondary
#BDD8A8
accent
#DE498B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9956CE

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

Preview Lab → · Contrast checker → · Palette generator →

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