#9B57CF#9B57CF

#9B57CF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.183 H 307.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9B57CF
RGBrgb(155, 87, 207)
HSLhsl(274, 56%, 58%)
HSVhsv(274, 58%, 81%)
CMYKcmyk(25.1%, 58%, 0%, 18.8%)
CIE-LABlab(49.85, 49.61, -51.40)
CIE-LCHlch(49.85, 71.44, 313.98°)
OKLaboklab(58.88% 0.1126 -0.1448)
OKLCHoklch(58.88% 0.183 307.9)
XYZxyz(28.1860, 18.2903, 61.0649)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57CF #8BCF57
analogous
#5F57CF #9B57CF #CF57C7
triadic
#9B57CF #CF9B57 #57CF9B
tetradic
#9B57CF #CF5F57 #8BCF57 #57C7CF
square
#9B57CF #CF5F57 #8BCF57 #57C7CF
split-complementary
#9B57CF #C7CF57 #57CF5F
monochromatic
#5C2685 #7D34B5 #9B57CF #B787DD #D4B6EA

Accessibility & contrast

On white

4.51
#9B57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9B57CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57CF#FFFFFF#000000##000000
##9B57CF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#936E8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b57cf;
/* rgb */ color: rgb(155, 87, 207);
/* oklch */ color: oklch(58.9% 0.183 307.9);
Tailwind
colors: {
  custom: {
    50: '#bc89de',
    500: '#9b57cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b57cf;
$custom-light: #bc89de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57cf",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 274,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.18344,
    "h": 307.9
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#9B57CF
secondary
#BED9A9
accent
#DF498A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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