#9B5FF1#9B5FF1

#9B5FF1 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.2% C 0.211 H 299.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9B5FF1
RGBrgb(155, 95, 241)
HSLhsl(265, 84%, 66%)
HSVhsv(265, 61%, 95%)
CMYKcmyk(35.7%, 60.6%, 0%, 5.5%)
CIE-LABlab(53.50, 53.58, -64.76)
CIE-LCHlch(53.50, 84.05, 309.60°)
OKLaboklab(62.21% 0.1024 -0.184)
OKLCHoklch(62.21% 0.211 299.1)
XYZxyz(33.4830, 21.5035, 85.5886)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5FF1 #B5F15F
analogous
#5F6CF1 #9B5FF1 #E45FF1
triadic
#9B5FF1 #F19B5F #5FF19B
tetradic
#9B5FF1 #F15F6C #B5F15F #5FF1E4
square
#9B5FF1 #F15F6C #B5F15F #5FF1E4
split-complementary
#9B5FF1 #F1E45F #6CF15F
monochromatic
#5B11C4 #7827EC #9B5FF1 #BE97F6 #E1D0FB

Accessibility & contrast

On white

3.96
#9B5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9B5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5FF1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5FF1#FFFFFF#000000##000000
##9B5FF11.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#257FEE
Tritanopia (blue-blind)
#887F9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9b5ff1;
/* rgb */ color: rgb(155, 95, 241);
/* oklch */ color: oklch(62.2% 0.211 299.1);
Tailwind
colors: {
  custom: {
    50: '#be8ff6',
    500: '#9b5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ff1;
$custom-light: #be8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ff1",
  "rgb": {
    "r": 155,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 264.658,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62207,
    "c": 0.21058,
    "h": 299.1
  },
  "luminance": 0.21504
}

Semantic roles & 50–950 ramp

primary
#9B5FF1
secondary
#DAEEBE
accent
#E00586
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9B5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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