#9B56E4#9B56E4

#9B56E4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.208 H 303.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B56E4
RGBrgb(155, 86, 228)
HSLhsl(269, 72%, 62%)
HSVhsv(269, 62%, 89%)
CMYKcmyk(32%, 62.3%, 0%, 10.6%)
CIE-LABlab(50.95, 55.02, -61.57)
CIE-LCHlch(50.95, 82.57, 311.79°)
OKLaboklab(60.09% 0.1133 -0.1746)
OKLCHoklch(60.09% 0.208 303)
XYZxyz(30.8457, 19.2256, 75.4696)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56E4 #9FE456
analogous
#5658E4 #9B56E4 #E256E4
triadic
#9B56E4 #E49B56 #56E49B
tetradic
#9B56E4 #E45658 #9FE456 #56E4E2
square
#9B56E4 #E45658 #9FE456 #56E4E2
split-complementary
#9B56E4 #E4E256 #58E456
monochromatic
#5E1AA5 #7C23DA #9B56E4 #BA8BEC #D9C0F5

Accessibility & contrast

On white

4.33
#9B56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9B56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56E4#FFFFFF#000000##000000
##9B56E41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#8D7495
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b56e4;
/* rgb */ color: rgb(155, 86, 228);
/* oklch */ color: oklch(60.1% 0.208 303.0);
Tailwind
colors: {
  custom: {
    50: '#bd89ed',
    500: '#9b56e4',
    950: '#000000',
  },
}
SCSS
$custom: #9b56e4;
$custom-light: #bd89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56e4",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 269.155,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.20816,
    "h": 303
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#9B56E4
secondary
#CCE5B0
accent
#D51176
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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