#9B5FEE#9B5FEE

#9B5FEE is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.207 H 299.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9B5FEE
RGBrgb(155, 95, 238)
HSLhsl(265, 81%, 65%)
HSVhsv(265, 60%, 93%)
CMYKcmyk(34.9%, 60.1%, 0%, 6.7%)
CIE-LABlab(53.30, 52.83, -63.39)
CIE-LCHlch(53.30, 82.52, 309.81°)
OKLaboklab(62.01% 0.1025 -0.18)
OKLCHoklch(62.01% 0.207 299.7)
XYZxyz(33.0386, 21.3257, 83.2480)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5FEE #B2EE5F
analogous
#5F6AEE #9B5FEE #E35FEE
triadic
#9B5FEE #EE9B5F #5FEE9B
tetradic
#9B5FEE #EE5F6A #B2EE5F #5FEEE3
square
#9B5FEE #EE5F6A #B2EE5F #5FEEE3
split-complementary
#9B5FEE #EEE35F #6AEE5F
monochromatic
#5C14BE #7828E8 #9B5FEE #BE96F4 #E0CEFA

Accessibility & contrast

On white

3.99
#9B5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9B5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5FEE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5FEE#FFFFFF#000000##000000
##9B5FEE1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#2B7EEB
Tritanopia (blue-blind)
#897E9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5fee;
/* rgb */ color: rgb(155, 95, 238);
/* oklch */ color: oklch(62.0% 0.207 299.7);
Tailwind
colors: {
  custom: {
    50: '#bd8ff4',
    500: '#9b5fee',
    950: '#000000',
  },
}
SCSS
$custom: #9b5fee;
$custom-light: #bd8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5fee",
  "rgb": {
    "r": 155,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 265.175,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62007,
    "c": 0.20714,
    "h": 299.7
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#9B5FEE
secondary
#D8ECBC
accent
#DD0884
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9B5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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