#9B57EA#9B57EA

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

Color values

HEX#9B57EA
RGBrgb(155, 87, 234)
HSLhsl(268, 78%, 63%)
HSVhsv(268, 63%, 92%)
CMYKcmyk(33.8%, 62.8%, 0%, 8.2%)
CIE-LABlab(51.53, 55.96, -64.02)
CIE-LCHlch(51.53, 85.03, 311.16°)
OKLaboklab(60.63% 0.1118 -0.1818)
OKLCHoklch(60.63% 0.213 301.6)
XYZxyz(31.7735, 19.7253, 79.9594)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57EA #A6EA57
analogous
#575CEA #9B57EA #E457EA
triadic
#9B57EA #EA9B57 #57EA9B
tetradic
#9B57EA #EA575C #A6EA57 #57EAE4
square
#9B57EA #EA575C #A6EA57 #57EAE4
split-complementary
#9B57EA #EAE457 #5CEA57
monochromatic
#5E16B1 #7B21E3 #9B57EA #BB8DF1 #DCC4F8

Accessibility & contrast

On white

4.25
#9B57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9B57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57EA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57EA#FFFFFF#000000##000000
##9B57EA1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#8B7799
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b57ea;
/* rgb */ color: rgb(155, 87, 234);
/* oklch */ color: oklch(60.6% 0.213 301.6);
Tailwind
colors: {
  custom: {
    50: '#bd8af2',
    500: '#9b57ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b57ea;
$custom-light: #bd8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57ea",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 267.755,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60633,
    "c": 0.21344,
    "h": 301.6
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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