#9B5AE4#9B5AE4

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

Color values

HEX#9B5AE4
RGBrgb(155, 90, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 61%, 89%)
CMYKcmyk(32%, 60.5%, 0%, 10.6%)
CIE-LABlab(51.70, 52.99, -60.35)
CIE-LCHlch(51.70, 80.31, 311.28°)
OKLaboklab(60.64% 0.1087 -0.171)
OKLCHoklch(60.64% 0.203 302.4)
XYZxyz(31.1741, 19.8823, 75.5791)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5AE4 #A3E45A
analogous
#5A5EE4 #9B5AE4 #E05AE4
triadic
#9B5AE4 #E49B5A #5AE49B
tetradic
#9B5AE4 #E45A5E #A3E45A #5AE4E0
square
#9B5AE4 #E45A5E #A3E45A #5AE4E0
split-complementary
#9B5AE4 #E4E05A #5EE45A
monochromatic
#5E1CA8 #7B25DB #9B5AE4 #BB8FED #DBC3F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B5AE4#FFFFFF#000000##000000
##9B5AE41.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)
#007AE8
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#8D7797
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b5ae4;
/* rgb */ color: rgb(155, 90, 228);
/* oklch */ color: oklch(60.6% 0.203 302.4);
Tailwind
colors: {
  custom: {
    50: '#bd8ced',
    500: '#9b5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ae4;
$custom-light: #bd8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ae4",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 268.261,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.20267,
    "h": 302.4
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#9B5AE4
secondary
#CEE6B4
accent
#D41278
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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