#9B57CD#9B57CD

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

Color values

HEX#9B57CD
RGBrgb(155, 87, 205)
HSLhsl(275, 54%, 57%)
HSVhsv(275, 58%, 80%)
CMYKcmyk(24.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(49.73, 49.15, -50.45)
CIE-LCHlch(49.73, 70.43, 314.25°)
OKLaboklab(58.75% 0.1126 -0.142)
OKLCHoklch(58.75% 0.181 308.4)
XYZxyz(27.9430, 18.1931, 59.7854)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57CD #89CD57
analogous
#6057CD #9B57CD #CD57C4
triadic
#9B57CD #CD9B57 #57CD9B
tetradic
#9B57CD #CD6057 #89CD57 #57C4CD
square
#9B57CD #CD6057 #89CD57 #57C4CD
split-complementary
#9B57CD #C4CD57 #57CD60
monochromatic
#5C2783 #7D35B2 #9B57CD #B786DB #D3B5E9

Accessibility & contrast

On white

4.53
#9B57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9B57CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57CD#FFFFFF#000000##000000
##9B57CD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#946D8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b57cd;
/* rgb */ color: rgb(155, 87, 205);
/* oklch */ color: oklch(58.8% 0.181 308.4);
Tailwind
colors: {
  custom: {
    50: '#bc89dd',
    500: '#9b57cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b57cd;
$custom-light: #bc89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57cd",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 274.576,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58753,
    "c": 0.18122,
    "h": 308.4
  },
  "luminance": 0.18193
}

Semantic roles & 50–950 ramp

primary
#9B57CD
secondary
#BCD8A8
accent
#DD4A89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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