#9B5EEE#9B5EEE

#9B5EEE is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.209 H 299.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9B5EEE
RGBrgb(155, 94, 238)
HSLhsl(265, 81%, 65%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(34.9%, 60.5%, 0%, 6.7%)
CIE-LABlab(53.11, 53.35, -63.70)
CIE-LCHlch(53.11, 83.10, 309.95°)
OKLaboklab(61.87% 0.1037 -0.1809)
OKLCHoklch(61.87% 0.209 299.8)
XYZxyz(32.9491, 21.1467, 83.2182)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EEE #B1EE5E
analogous
#5E69EE #9B5EEE #E35EEE
triadic
#9B5EEE #EE9B5E #5EEE9B
tetradic
#9B5EEE #EE5E69 #B1EE5E #5EEEE3
square
#9B5EEE #EE5E69 #B1EE5E #5EEEE3
split-complementary
#9B5EEE #EEE35E #69EE5E
monochromatic
#5C14BE #7927E8 #9B5EEE #BD95F4 #E0CDFA

Accessibility & contrast

On white

4.02
#9B5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9B5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EEE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EEE#FFFFFF#000000##000000
##9B5EEE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#297EEB
Tritanopia (blue-blind)
#897D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5eee;
/* rgb */ color: rgb(155, 94, 238);
/* oklch */ color: oklch(61.9% 0.209 299.8);
Tailwind
colors: {
  custom: {
    50: '#bd8ef4',
    500: '#9b5eee',
    950: '#000000',
  },
}
SCSS
$custom: #9b5eee;
$custom-light: #bd8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5eee",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 265.417,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.20851,
    "h": 299.8
  },
  "luminance": 0.21147
}

Semantic roles & 50–950 ramp

primary
#9B5EEE
secondary
#D8ECBB
accent
#DD0883
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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