#9B56EA#9B56EA

#9B56EA is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.215 H 301.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9B56EA
RGBrgb(155, 86, 234)
HSLhsl(268, 78%, 63%)
HSVhsv(268, 63%, 92%)
CMYKcmyk(33.8%, 63.2%, 0%, 8.2%)
CIE-LABlab(51.34, 56.46, -64.31)
CIE-LCHlch(51.34, 85.58, 311.28°)
OKLaboklab(60.5% 0.1129 -0.1827)
OKLCHoklch(60.5% 0.215 301.7)
XYZxyz(31.6931, 19.5645, 79.9326)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56EA #A5EA56
analogous
#565BEA #9B56EA #E556EA
triadic
#9B56EA #EA9B56 #56EA9B
tetradic
#9B56EA #EA565B #A5EA56 #56EAE5
square
#9B56EA #EA565B #A5EA56 #56EAE5
split-complementary
#9B56EA #EAE556 #5BEA56
monochromatic
#5E16B0 #7B20E3 #9B56EA #BB8CF1 #DBC3F8

Accessibility & contrast

On white

4.27
#9B56EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9B56EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56EA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56EA#FFFFFF#000000##000000
##9B56EA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#1E7AE7
Tritanopia (blue-blind)
#8B7698
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b56ea;
/* rgb */ color: rgb(155, 86, 234);
/* oklch */ color: oklch(60.5% 0.215 301.7);
Tailwind
colors: {
  custom: {
    50: '#bd89f2',
    500: '#9b56ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b56ea;
$custom-light: #bd89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56ea",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 267.973,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.605,
    "c": 0.21477,
    "h": 301.7
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#9B56EA
secondary
#D0E9B3
accent
#DA0B7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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