#9B57E4#9B57E4

#9B57E4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.207 H 302.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9B57E4
RGBrgb(155, 87, 228)
HSLhsl(269, 72%, 62%)
HSVhsv(269, 62%, 89%)
CMYKcmyk(32%, 61.8%, 0%, 10.6%)
CIE-LABlab(51.14, 54.52, -61.27)
CIE-LCHlch(51.14, 82.01, 311.67°)
OKLaboklab(60.23% 0.1122 -0.1737)
OKLCHoklch(60.23% 0.207 302.9)
XYZxyz(30.9261, 19.3864, 75.4964)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57E4 #A0E457
analogous
#575AE4 #9B57E4 #E257E4
triadic
#9B57E4 #E49B57 #57E49B
tetradic
#9B57E4 #E4575A #A0E457 #57E4E2
square
#9B57E4 #E4575A #A0E457 #57E4E2
split-complementary
#9B57E4 #E4E257 #5AE457
monochromatic
#5E1BA6 #7C23DB #9B57E4 #BA8CEC #DAC0F5

Accessibility & contrast

On white

4.31
#9B57E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9B57E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57E4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57E4#FFFFFF#000000##000000
##9B57E41.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2C79E1
Tritanopia (blue-blind)
#8D7596
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b57e4;
/* rgb */ color: rgb(155, 87, 228);
/* oklch */ color: oklch(60.2% 0.207 302.9);
Tailwind
colors: {
  custom: {
    50: '#bd8aed',
    500: '#9b57e4',
    950: '#000000',
  },
}
SCSS
$custom: #9b57e4;
$custom-light: #bd8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57e4",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 268.936,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.20681,
    "h": 302.9
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#9B57E4
secondary
#CCE6B1
accent
#D41176
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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