#9956EE#9956EE

#9956EE is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.219 H 300.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9956EE
RGBrgb(153, 86, 238)
HSLhsl(266, 82%, 64%)
HSVhsv(266, 64%, 93%)
CMYKcmyk(35.7%, 63.9%, 0%, 6.7%)
CIE-LABlab(51.38, 57.01, -66.50)
CIE-LCHlch(51.38, 87.59, 310.60°)
OKLaboklab(60.56% 0.11 -0.1892)
OKLCHoklch(60.56% 0.219 300.2)
XYZxyz(31.8935, 19.6007, 82.9754)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956EE #ABEE56
analogous
#565FEE #9956EE #E556EE
triadic
#9956EE #EE9956 #56EE99
tetradic
#9956EE #EE565F #ABEE56 #56EEE5
square
#9956EE #EE565F #ABEE56 #56EEE5
split-complementary
#9956EE #EEE556 #5FEE56
monochromatic
#5B12B7 #771EE8 #9956EE #BB8EF4 #DCC5F9

Accessibility & contrast

On white

4.27
#9956EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9956EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956EE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956EE#FFFFFF#000000##000000
##9956EE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0779EB
Tritanopia (blue-blind)
#86789B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9956ee;
/* rgb */ color: rgb(153, 86, 238);
/* oklch */ color: oklch(60.6% 0.219 300.2);
Tailwind
colors: {
  custom: {
    50: '#bc89f4',
    500: '#9956ee',
    950: '#000000',
  },
}
SCSS
$custom: #9956ee;
$custom-light: #bc89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9956ee",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 266.447,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.21883,
    "h": 300.2
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#9956EE
secondary
#D3EBB5
accent
#DE077F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9956EE

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

Preview Lab → · Contrast checker → · Palette generator →

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