#9956ED#9956ED

#9956ED is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.218 H 300.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9956ED
RGBrgb(153, 86, 237)
HSLhsl(267, 81%, 63%)
HSVhsv(267, 64%, 93%)
CMYKcmyk(35.4%, 63.7%, 0%, 7.1%)
CIE-LABlab(51.32, 56.76, -66.05)
CIE-LCHlch(51.32, 87.09, 310.68°)
OKLaboklab(60.5% 0.1101 -0.1878)
OKLCHoklch(60.5% 0.218 300.4)
XYZxyz(31.7470, 19.5421, 82.2038)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956ED #AAED56
analogous
#565EED #9956ED #E556ED
triadic
#9956ED #ED9956 #56ED99
tetradic
#9956ED #ED565E #AAED56 #56EDE5
square
#9956ED #ED565E #AAED56 #56EDE5
split-complementary
#9956ED #EDE556 #5EED56
monochromatic
#5B13B5 #781FE7 #9956ED #BA8DF3 #DCC5F9

Accessibility & contrast

On white

4.28
#9956ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9956ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956ED
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956ED#FFFFFF#000000##000000
##9956ED1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0D79EA
Tritanopia (blue-blind)
#87789A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9956ed;
/* rgb */ color: rgb(153, 86, 237);
/* oklch */ color: oklch(60.5% 0.218 300.4);
Tailwind
colors: {
  custom: {
    50: '#bc89f4',
    500: '#9956ed',
    950: '#000000',
  },
}
SCSS
$custom: #9956ed;
$custom-light: #bc89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9956ed",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 266.623,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.21772,
    "h": 300.4
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#9956ED
secondary
#D2EAB4
accent
#DD087F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9956ED

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

Preview Lab → · Contrast checker → · Palette generator →

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