#9B57EB#9B57EB

#9B57EB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.215 H 301.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9B57EB
RGBrgb(155, 87, 235)
HSLhsl(268, 79%, 63%)
HSVhsv(268, 63%, 92%)
CMYKcmyk(34%, 63%, 0%, 7.8%)
CIE-LABlab(51.59, 56.20, -64.47)
CIE-LCHlch(51.59, 85.53, 311.08°)
OKLaboklab(60.7% 0.1117 -0.1831)
OKLCHoklch(60.7% 0.215 301.4)
XYZxyz(31.9176, 19.7830, 80.7181)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57EB #A7EB57
analogous
#575DEB #9B57EB #E557EB
triadic
#9B57EB #EB9B57 #57EB9B
tetradic
#9B57EB #EB575D #A7EB57 #57EBE5
square
#9B57EB #EB575D #A7EB57 #57EBE5
split-complementary
#9B57EB #EBE557 #5DEB57
monochromatic
#5D15B2 #7A20E4 #9B57EB #BC8EF2 #DCC4F8

Accessibility & contrast

On white

4.24
#9B57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9B57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57EB#FFFFFF#000000##000000
##9B57EB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#8A7799
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b57eb;
/* rgb */ color: rgb(155, 87, 235);
/* oklch */ color: oklch(60.7% 0.215 301.4);
Tailwind
colors: {
  custom: {
    50: '#bd8af2',
    500: '#9b57eb',
    950: '#000000',
  },
}
SCSS
$custom: #9b57eb;
$custom-light: #bd8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57eb",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 267.568,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.21455,
    "h": 301.4
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#9B57EB
secondary
#D1E9B4
accent
#DB0A7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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