#9B57CE#9B57CE

#9B57CE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.8% C 0.182 H 308.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9B57CE
RGBrgb(155, 87, 206)
HSLhsl(274, 55%, 57%)
HSVhsv(274, 58%, 81%)
CMYKcmyk(24.8%, 57.8%, 0%, 19.2%)
CIE-LABlab(49.79, 49.38, -50.93)
CIE-LCHlch(49.79, 70.93, 314.12°)
OKLaboklab(58.81% 0.1126 -0.1434)
OKLCHoklch(58.81% 0.182 308.1)
XYZxyz(28.0641, 18.2416, 60.4231)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57CE #8ACE57
analogous
#6057CE #9B57CE #CE57C5
triadic
#9B57CE #CE9B57 #57CE9B
tetradic
#9B57CE #CE6057 #8ACE57 #57C5CE
square
#9B57CE #CE6057 #8ACE57 #57C5CE
split-complementary
#9B57CE #C5CE57 #57CE60
monochromatic
#5C2784 #7D34B3 #9B57CE #B786DC #D3B6EA

Accessibility & contrast

On white

4.52
#9B57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9B57CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57CE#FFFFFF#000000##000000
##9B57CE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#936D8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b57ce;
/* rgb */ color: rgb(155, 87, 206);
/* oklch */ color: oklch(58.8% 0.182 308.1);
Tailwind
colors: {
  custom: {
    50: '#bc89dd',
    500: '#9b57ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b57ce;
$custom-light: #bc89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57ce",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 274.286,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.18234,
    "h": 308.1
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#9B57CE
secondary
#BDD8A8
accent
#DE4A89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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