#9B5CE8#9B5CE8

#9B5CE8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.204 H 301.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9B5CE8
RGBrgb(155, 92, 232)
HSLhsl(267, 75%, 64%)
HSVhsv(267, 60%, 91%)
CMYKcmyk(33.2%, 60.3%, 0%, 9%)
CIE-LABlab(52.34, 52.92, -61.58)
CIE-LCHlch(52.34, 81.20, 310.68°)
OKLaboklab(61.18% 0.1062 -0.1747)
OKLCHoklch(61.18% 0.204 301.3)
XYZxyz(31.9068, 20.4489, 78.5944)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CE8 #A9E85C
analogous
#5C63E8 #9B5CE8 #E15CE8
triadic
#9B5CE8 #E89B5C #5CE89B
tetradic
#9B5CE8 #E85C63 #A9E85C #5CE8E1
square
#9B5CE8 #E85C63 #A9E85C #5CE8E1
split-complementary
#9B5CE8 #E8E15C #63E85C
monochromatic
#5D19B1 #7A26E0 #9B5CE8 #BC92F0 #DDC7F7

Accessibility & contrast

On white

4.13
#9B5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9B5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CE8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CE8#FFFFFF#000000##000000
##9B5CE81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#2F7CE5
Tritanopia (blue-blind)
#8B7A99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b5ce8;
/* rgb */ color: rgb(155, 92, 232);
/* oklch */ color: oklch(61.2% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#bd8df0',
    500: '#9b5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ce8;
$custom-light: #bd8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ce8",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 267,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.20443,
    "h": 301.3
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

primary
#9B5CE8
secondary
#D2E9B7
accent
#D70E7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9B5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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