#9B57CC#9B57CC

#9B57CC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.180 H 308.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B57CC
RGBrgb(155, 87, 204)
HSLhsl(275, 53%, 57%)
HSVhsv(275, 57%, 80%)
CMYKcmyk(24%, 57.4%, 0%, 20%)
CIE-LABlab(49.67, 48.92, -49.97)
CIE-LCHlch(49.67, 69.93, 314.40°)
OKLaboklab(58.69% 0.1126 -0.1406)
OKLCHoklch(58.69% 0.18 308.7)
XYZxyz(27.8227, 18.1450, 59.1517)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57CC #88CC57
analogous
#6157CC #9B57CC #CC57C3
triadic
#9B57CC #CC9B57 #57CC9B
tetradic
#9B57CC #CC6157 #88CC57 #57C3CC
square
#9B57CC #CC6157 #88CC57 #57C3CC
split-complementary
#9B57CC #C3CC57 #57CC61
monochromatic
#5C2781 #7D36B0 #9B57CC #B786DA #D3B5E9

Accessibility & contrast

On white

4.54
#9B57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9B57CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57CC#FFFFFF#000000##000000
##9B57CC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#946D89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b57cc;
/* rgb */ color: rgb(155, 87, 204);
/* oklch */ color: oklch(58.7% 0.180 308.7);
Tailwind
colors: {
  custom: {
    50: '#bc89dc',
    500: '#9b57cc',
    950: '#000000',
  },
}
SCSS
$custom: #9b57cc;
$custom-light: #bc89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57cc",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 274.872,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.18011,
    "h": 308.7
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#9B57CC
secondary
#BCD7A8
accent
#DD4B88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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