#9B5EED#9B5EED

#9B5EED is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.207 H 300.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9B5EED
RGBrgb(155, 94, 237)
HSLhsl(266, 80%, 65%)
HSVhsv(266, 60%, 93%)
CMYKcmyk(34.6%, 60.3%, 0%, 7.1%)
CIE-LABlab(53.05, 53.11, -63.25)
CIE-LCHlch(53.05, 82.59, 310.02°)
OKLaboklab(61.8% 0.1037 -0.1796)
OKLCHoklch(61.8% 0.207 300)
XYZxyz(32.8026, 21.0881, 82.4466)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EED #B0ED5E
analogous
#5E69ED #9B5EED #E25EED
triadic
#9B5EED #ED9B5E #5EED9B
tetradic
#9B5EED #ED5E69 #B0ED5E #5EEDE2
square
#9B5EED #ED5E69 #B0ED5E #5EEDE2
split-complementary
#9B5EED #EDE25E #69ED5E
monochromatic
#5C15BC #7927E7 #9B5EED #BD95F3 #DFCCF9

Accessibility & contrast

On white

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

On black

5.22
#9B5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EED
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EED#FFFFFF#000000##000000
##9B5EED1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#2B7EEA
Tritanopia (blue-blind)
#897D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5eed;
/* rgb */ color: rgb(155, 94, 237);
/* oklch */ color: oklch(61.8% 0.207 300.0);
Tailwind
colors: {
  custom: {
    50: '#bd8ef4',
    500: '#9b5eed',
    950: '#000000',
  },
}
SCSS
$custom: #9b5eed;
$custom-light: #bd8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5eed",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 265.594,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.20737,
    "h": 300
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#9B5EED
secondary
#D7ECBB
accent
#DC0982
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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