#9B5AE9#9B5AE9

#9B5AE9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.208 H 301.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9B5AE9
RGBrgb(155, 90, 233)
HSLhsl(267, 76%, 63%)
HSVhsv(267, 61%, 91%)
CMYKcmyk(33.5%, 61.4%, 0%, 8.6%)
CIE-LABlab(52.02, 54.20, -62.65)
CIE-LCHlch(52.02, 82.84, 310.86°)
OKLaboklab(60.97% 0.1085 -0.1778)
OKLCHoklch(60.97% 0.208 301.4)
XYZxyz(31.8782, 20.1639, 79.2876)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5AE9 #A8E95A
analogous
#5A60E9 #9B5AE9 #E35AE9
triadic
#9B5AE9 #E99B5A #5AE99B
tetradic
#9B5AE9 #E95A60 #A8E95A #5AE9E3
square
#9B5AE9 #E95A60 #A8E95A #5AE9E3
split-complementary
#9B5AE9 #E9E35A #60E95A
monochromatic
#5D18B1 #7A24E2 #9B5AE9 #BC90F0 #DCC6F7

Accessibility & contrast

On white

4.17
#9B5AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9B5AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5AE9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5AE9#FFFFFF#000000##000000
##9B5AE91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#8B7999
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b5ae9;
/* rgb */ color: rgb(155, 90, 233);
/* oklch */ color: oklch(61.0% 0.208 301.4);
Tailwind
colors: {
  custom: {
    50: '#bd8cf1',
    500: '#9b5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ae9;
$custom-light: #bd8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ae9",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 267.273,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.20829,
    "h": 301.4
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#9B5AE9
secondary
#D2E9B6
accent
#D90D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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