#9B5CF6#9B5CF6

#9B5CF6 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.220 H 298.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9B5CF6
RGBrgb(155, 92, 246)
HSLhsl(265, 90%, 66%)
HSVhsv(265, 63%, 96%)
CMYKcmyk(37%, 62.6%, 0%, 3.5%)
CIE-LABlab(53.25, 56.36, -67.94)
CIE-LCHlch(53.25, 88.27, 309.67°)
OKLaboklab(62.13% 0.1054 -0.1934)
OKLCHoklch(62.13% 0.22 298.6)
XYZxyz(33.9751, 21.2762, 89.4877)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CF6 #B7F65C
analogous
#5C6AF6 #9B5CF6 #E85CF6
triadic
#9B5CF6 #F69B5C #5CF69B
tetradic
#9B5CF6 #F65C6A #B7F65C #5CF6E8
square
#9B5CF6 #F65C6A #B7F65C #5CF6E8
split-complementary
#9B5CF6 #F6E85C #6AF65C
monochromatic
#5A0BCC #7722F3 #9B5CF6 #BF96F9 #E2D0FC

Accessibility & contrast

On white

4.00
#9B5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9B5CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CF6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CF6#FFFFFF#000000##000000
##9B5CF61.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#087EF3
Tritanopia (blue-blind)
#867EA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5cf6;
/* rgb */ color: rgb(155, 92, 246);
/* oklch */ color: oklch(62.1% 0.220 298.6);
Tailwind
colors: {
  custom: {
    50: '#be8dfa',
    500: '#9b5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #9b5cf6;
$custom-light: #be8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5cf6",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 264.545,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62133,
    "c": 0.22023,
    "h": 298.6
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#9B5CF6
secondary
#DBF0BE
accent
#E60088
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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