#9956EF#9956EF

#9956EF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.220 H 300.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9956EF
RGBrgb(153, 86, 239)
HSLhsl(266, 83%, 64%)
HSVhsv(266, 64%, 94%)
CMYKcmyk(36%, 64%, 0%, 6.3%)
CIE-LABlab(51.45, 57.25, -66.96)
CIE-LCHlch(51.45, 88.09, 310.53°)
OKLaboklab(60.63% 0.1099 -0.1905)
OKLCHoklch(60.63% 0.22 300)
XYZxyz(32.0408, 19.6596, 83.7512)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956EF #ACEF56
analogous
#565FEF #9956EF #E656EF
triadic
#9956EF #EF9956 #56EF99
tetradic
#9956EF #EF565F #ACEF56 #56EFE6
square
#9956EF #EF565F #ACEF56 #56EFE6
split-complementary
#9956EF #EFE656 #5FEF56
monochromatic
#5B12B9 #771EEA #9956EF #BB8EF4 #DCC6FA

Accessibility & contrast

On white

4.26
#9956EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9956EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956EF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956EF#FFFFFF#000000##000000
##9956EF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0179EC
Tritanopia (blue-blind)
#86789B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9956ef;
/* rgb */ color: rgb(153, 86, 239);
/* oklch */ color: oklch(60.6% 0.220 300.0);
Tailwind
colors: {
  custom: {
    50: '#bd89f5',
    500: '#9956ef',
    950: '#000000',
  },
}
SCSS
$custom: #9956ef;
$custom-light: #bd89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9956ef",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 266.275,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.21993,
    "h": 300
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#9956EF
secondary
#D4EBB5
accent
#DF0680
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9956EF

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

Preview Lab → · Contrast checker → · Palette generator →

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