#9B5DF3#9B5DF3

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

Color values

HEX#9B5DF3
RGBrgb(155, 93, 243)
HSLhsl(265, 86%, 66%)
HSVhsv(265, 62%, 95%)
CMYKcmyk(36.2%, 61.7%, 0%, 4.7%)
CIE-LABlab(53.24, 55.10, -66.28)
CIE-LCHlch(53.24, 86.20, 309.74°)
OKLaboklab(62.06% 0.1045 -0.1885)
OKLCHoklch(62.06% 0.216 299)
XYZxyz(33.6056, 21.2680, 87.1113)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DF3 #B5F35D
analogous
#5D6AF3 #9B5DF3 #E65DF3
triadic
#9B5DF3 #F39B5D #5DF39B
tetradic
#9B5DF3 #F35D6A #B5F35D #5DF3E6
square
#9B5DF3 #F35D6A #B5F35D #5DF3E6
split-complementary
#9B5DF3 #F3E65D #6AF35D
monochromatic
#5B0FC7 #7824EF #9B5DF3 #BE96F7 #E1CFFB

Accessibility & contrast

On white

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

On black

5.25
#9B5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5DF3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5DF3#FFFFFF#000000##000000
##9B5DF31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#1A7EF0
Tritanopia (blue-blind)
#877EA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5df3;
/* rgb */ color: rgb(155, 93, 243);
/* oklch */ color: oklch(62.1% 0.216 299.0);
Tailwind
colors: {
  custom: {
    50: '#be8ef8',
    500: '#9b5df3',
    950: '#000000',
  },
}
SCSS
$custom: #9b5df3;
$custom-light: #be8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5df3",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 264.8,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62064,
    "c": 0.21553,
    "h": 299
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#9B5DF3
secondary
#DAEFBD
accent
#E30386
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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