#9B57E9#9B57E9

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

Color values

HEX#9B57E9
RGBrgb(155, 87, 233)
HSLhsl(268, 77%, 63%)
HSVhsv(268, 63%, 91%)
CMYKcmyk(33.5%, 62.7%, 0%, 8.6%)
CIE-LABlab(51.46, 55.72, -63.56)
CIE-LCHlch(51.46, 84.52, 311.24°)
OKLaboklab(60.57% 0.1119 -0.1805)
OKLCHoklch(60.57% 0.212 301.8)
XYZxyz(31.6303, 19.6680, 79.2049)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57E9 #A5E957
analogous
#575CE9 #9B57E9 #E457E9
triadic
#9B57E9 #E99B57 #57E99B
tetradic
#9B57E9 #E9575C #A5E957 #57E9E4
square
#9B57E9 #E9575C #A5E957 #57E9E4
split-complementary
#9B57E9 #E9E457 #5CE957
monochromatic
#5E17AF #7B21E2 #9B57E9 #BB8DF0 #DBC3F7

Accessibility & contrast

On white

4.26
#9B57E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9B57E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57E9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57E9#FFFFFF#000000##000000
##9B57E91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#237AE6
Tritanopia (blue-blind)
#8B7798
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b57e9;
/* rgb */ color: rgb(155, 87, 233);
/* oklch */ color: oklch(60.6% 0.212 301.8);
Tailwind
colors: {
  custom: {
    50: '#bd8af1',
    500: '#9b57e9',
    950: '#000000',
  },
}
SCSS
$custom: #9b57e9;
$custom-light: #bd8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57e9",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 267.945,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60565,
    "c": 0.21234,
    "h": 301.8
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#9B57E9
secondary
#D0E8B3
accent
#D90C7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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