#9D56E9#9D56E9

#9D56E9 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.214 H 302.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9D56E9
RGBrgb(157, 86, 233)
HSLhsl(269, 77%, 63%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(32.6%, 63.1%, 0%, 8.6%)
CIE-LABlab(51.50, 56.64, -63.48)
CIE-LCHlch(51.50, 85.07, 311.74°)
OKLaboklab(60.65% 0.1156 -0.1802)
OKLCHoklch(60.65% 0.214 302.7)
XYZxyz(31.9370, 19.7068, 79.1963)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D56E9 #A2E956
analogous
#5658E9 #9D56E9 #E756E9
triadic
#9D56E9 #E99D56 #56E99D
tetradic
#9D56E9 #E95658 #A2E956 #56E9E7
square
#9D56E9 #E95658 #A2E956 #56E9E7
split-complementary
#9D56E9 #E9E756 #58E956
monochromatic
#6017AE #7E20E2 #9D56E9 #BC8CF0 #DCC2F7

Accessibility & contrast

On white

4.25
#9D56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9D56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D56E9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D56E9#FFFFFF#000000##000000
##9D56E91.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#257AE6
Tritanopia (blue-blind)
#8E7698
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d56e9;
/* rgb */ color: rgb(157, 86, 233);
/* oklch */ color: oklch(60.6% 0.214 302.7);
Tailwind
colors: {
  custom: {
    50: '#bf89f1',
    500: '#9d56e9',
    950: '#000000',
  },
}
SCSS
$custom: #9d56e9;
$custom-light: #bf89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d56e9",
  "rgb": {
    "r": 157,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 268.98,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.21406,
    "h": 302.7
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#9D56E9
secondary
#CEE8B3
accent
#D90C76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D56E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9D56E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva