#9B5CE9#9B5CE9

#9B5CE9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.206 H 301.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9B5CE9
RGBrgb(155, 92, 233)
HSLhsl(267, 76%, 64%)
HSVhsv(267, 61%, 91%)
CMYKcmyk(33.5%, 60.5%, 0%, 8.6%)
CIE-LABlab(52.40, 53.17, -62.04)
CIE-LCHlch(52.40, 81.70, 310.60°)
OKLaboklab(61.25% 0.1062 -0.176)
OKLCHoklch(61.25% 0.206 301.1)
XYZxyz(32.0492, 20.5059, 79.3446)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CE9 #AAE95C
analogous
#5C63E9 #9B5CE9 #E25CE9
triadic
#9B5CE9 #E99B5C #5CE99B
tetradic
#9B5CE9 #E95C63 #AAE95C #5CE9E2
square
#9B5CE9 #E95C63 #AAE95C #5CE9E2
split-complementary
#9B5CE9 #E9E25C #63E95C
monochromatic
#5D18B3 #7A26E2 #9B5CE9 #BC92F0 #DDC8F8

Accessibility & contrast

On white

4.12
#9B5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9B5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CE9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CE9#FFFFFF#000000##000000
##9B5CE91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#8B7A9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b5ce9;
/* rgb */ color: rgb(155, 92, 233);
/* oklch */ color: oklch(61.3% 0.206 301.1);
Tailwind
colors: {
  custom: {
    50: '#bd8df1',
    500: '#9b5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ce9;
$custom-light: #bd8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ce9",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 266.809,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.20556,
    "h": 301.1
  },
  "luminance": 0.20506
}

Semantic roles & 50–950 ramp

primary
#9B5CE9
secondary
#D3E9B8
accent
#D80D7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9B5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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