#9D56E8#9D56E8

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

Color values

HEX#9D56E8
RGBrgb(157, 86, 232)
HSLhsl(269, 76%, 62%)
HSVhsv(269, 63%, 91%)
CMYKcmyk(32.3%, 62.9%, 0%, 9%)
CIE-LABlab(51.44, 56.40, -63.02)
CIE-LCHlch(51.44, 84.58, 311.83°)
OKLaboklab(60.58% 0.1157 -0.1788)
OKLCHoklch(60.58% 0.213 302.9)
XYZxyz(31.7945, 19.6499, 78.4461)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D56E8 #A1E856
analogous
#5658E8 #9D56E8 #E656E8
triadic
#9D56E8 #E89D56 #56E89D
tetradic
#9D56E8 #E85658 #A1E856 #56E8E6
square
#9D56E8 #E85658 #A1E856 #56E8E6
split-complementary
#9D56E8 #E8E656 #58E856
monochromatic
#6017AC #7E20E1 #9D56E8 #BC8CEF #DBC2F7

Accessibility & contrast

On white

4.26
#9D56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9D56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D56E8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D56E8#FFFFFF#000000##000000
##9D56E81.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)
#0079ED
Deuteranopia (green-blind)
#277AE5
Tritanopia (blue-blind)
#8E7597
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d56e8;
/* rgb */ color: rgb(157, 86, 232);
/* oklch */ color: oklch(60.6% 0.213 302.9);
Tailwind
colors: {
  custom: {
    50: '#bf89f0',
    500: '#9d56e8',
    950: '#000000',
  },
}
SCSS
$custom: #9d56e8;
$custom-light: #bf89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d56e8",
  "rgb": {
    "r": 157,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 269.178,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.21296,
    "h": 302.9
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

primary
#9D56E8
secondary
#CEE8B2
accent
#D80D76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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