#9B5AE6#9B5AE6

#9B5AE6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.205 H 302.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9B5AE6
RGBrgb(155, 90, 230)
HSLhsl(268, 74%, 63%)
HSVhsv(268, 61%, 90%)
CMYKcmyk(32.6%, 60.9%, 0%, 9.8%)
CIE-LABlab(51.83, 53.47, -61.28)
CIE-LCHlch(51.83, 81.33, 311.11°)
OKLaboklab(60.77% 0.1086 -0.1738)
OKLCHoklch(60.77% 0.205 302)
XYZxyz(31.4533, 19.9940, 77.0497)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5AE6 #A5E65A
analogous
#5A5FE6 #9B5AE6 #E15AE6
triadic
#9B5AE6 #E69B5A #5AE69B
tetradic
#9B5AE6 #E65A5F #A5E65A #5AE6E1
square
#9B5AE6 #E65A5F #A5E65A #5AE6E1
split-complementary
#9B5AE6 #E6E15A #5FE65A
monochromatic
#5E1AAC #7B25DE #9B5AE6 #BB8FEE #DBC4F6

Accessibility & contrast

On white

4.20
#9B5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9B5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5AE6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5AE6#FFFFFF#000000##000000
##9B5AE61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#8C7898
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b5ae6;
/* rgb */ color: rgb(155, 90, 230);
/* oklch */ color: oklch(60.8% 0.205 302.0);
Tailwind
colors: {
  custom: {
    50: '#bd8cef',
    500: '#9b5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ae6;
$custom-light: #bd8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ae6",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 267.857,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.20492,
    "h": 302
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#9B5AE6
secondary
#D0E7B5
accent
#D6107A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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