#9B5EE7#9B5EE7

#9B5EE7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.201 H 301.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B5EE7
RGBrgb(155, 94, 231)
HSLhsl(267, 74%, 64%)
HSVhsv(267, 59%, 91%)
CMYKcmyk(32.9%, 59.3%, 0%, 9.4%)
CIE-LABlab(52.67, 51.64, -60.49)
CIE-LCHlch(52.67, 79.54, 310.49°)
OKLaboklab(61.4% 0.1039 -0.1715)
OKLCHoklch(61.4% 0.201 301.2)
XYZxyz(31.9407, 20.7433, 77.9069)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EE7 #AAE75E
analogous
#5E65E7 #9B5EE7 #DF5EE7
triadic
#9B5EE7 #E79B5E #5EE79B
tetradic
#9B5EE7 #E75E65 #AAE75E #5EE7DF
square
#9B5EE7 #E75E65 #AAE75E #5EE7DF
split-complementary
#9B5EE7 #E7DF5E #65E75E
monochromatic
#5D1AB0 #7A29DF #9B5EE7 #BC93EF #DDC9F7

Accessibility & contrast

On white

4.08
#9B5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9B5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EE7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EE7#FFFFFF#000000##000000
##9B5EE71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7DEB
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#8B7B9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b5ee7;
/* rgb */ color: rgb(155, 94, 231);
/* oklch */ color: oklch(61.4% 0.201 301.2);
Tailwind
colors: {
  custom: {
    50: '#bd8eef',
    500: '#9b5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ee7;
$custom-light: #bd8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ee7",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 266.715,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.2005,
    "h": 301.2
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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