#9B57ED#9B57ED

#9B57ED is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.217 H 301.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9B57ED
RGBrgb(155, 87, 237)
HSLhsl(267, 81%, 64%)
HSVhsv(267, 63%, 93%)
CMYKcmyk(34.6%, 63.3%, 0%, 7.1%)
CIE-LABlab(51.72, 56.68, -65.38)
CIE-LCHlch(51.72, 86.53, 310.92°)
OKLaboklab(60.84% 0.1116 -0.1858)
OKLCHoklch(60.84% 0.217 301)
XYZxyz(32.2082, 19.8992, 82.2484)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B57ED #A9ED57
analogous
#575EED #9B57ED #E657ED
triadic
#9B57ED #ED9B57 #57ED9B
tetradic
#9B57ED #ED575E #A9ED57 #57EDE6
square
#9B57ED #ED575E #A9ED57 #57EDE6
split-complementary
#9B57ED #EDE657 #5EED57
monochromatic
#5D14B6 #7A20E7 #9B57ED #BC8EF3 #DDC6F9

Accessibility & contrast

On white

4.22
#9B57ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9B57ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B57ED
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B57ED#FFFFFF#000000##000000
##9B57ED1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#187AEA
Tritanopia (blue-blind)
#8A789A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b57ed;
/* rgb */ color: rgb(155, 87, 237);
/* oklch */ color: oklch(60.8% 0.217 301.0);
Tailwind
colors: {
  custom: {
    50: '#be8af4',
    500: '#9b57ed',
    950: '#000000',
  },
}
SCSS
$custom: #9b57ed;
$custom-light: #be8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b57ed",
  "rgb": {
    "r": 155,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 267.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.21675,
    "h": 301
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#9B57ED
secondary
#D2EAB5
accent
#DD097D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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