#9B56EF#9B56EF

#9B56EF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.220 H 300.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B56EF
RGBrgb(155, 86, 239)
HSLhsl(267, 83%, 64%)
HSVhsv(267, 64%, 94%)
CMYKcmyk(35.1%, 64%, 0%, 6.3%)
CIE-LABlab(51.67, 57.66, -66.58)
CIE-LCHlch(51.67, 88.08, 310.89°)
OKLaboklab(60.85% 0.1125 -0.1893)
OKLCHoklch(60.85% 0.22 300.7)
XYZxyz(32.4216, 19.8559, 83.7691)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B56EF #AAEF56
analogous
#565DEF #9B56EF #E856EF
triadic
#9B56EF #EF9B56 #56EF9B
tetradic
#9B56EF #EF565D #AAEF56 #56EFE8
square
#9B56EF #EF565D #AAEF56 #56EFE8
split-complementary
#9B56EF #EFE856 #5DEF56
monochromatic
#5D12B9 #7A1EEA #9B56EF #BC8EF4 #DDC6FA

Accessibility & contrast

On white

4.22
#9B56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9B56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B56EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B56EF#FFFFFF#000000##000000
##9B56EF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0C7AEC
Tritanopia (blue-blind)
#89789B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b56ef;
/* rgb */ color: rgb(155, 86, 239);
/* oklch */ color: oklch(60.8% 0.220 300.7);
Tailwind
colors: {
  custom: {
    50: '#be89f5',
    500: '#9b56ef',
    950: '#000000',
  },
}
SCSS
$custom: #9b56ef;
$custom-light: #be89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b56ef",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 267.059,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.22025,
    "h": 300.7
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#9B56EF
secondary
#D3EBB5
accent
#DF067D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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