#9D5BF4#9D5BF4

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

Color values

HEX#9D5BF4
RGBrgb(157, 91, 244)
HSLhsl(266, 87%, 66%)
HSVhsv(266, 63%, 96%)
CMYKcmyk(35.7%, 62.7%, 0%, 4.3%)
CIE-LABlab(53.15, 56.78, -66.98)
CIE-LCHlch(53.15, 87.81, 310.29°)
OKLaboklab(62.07% 0.1093 -0.1905)
OKLCHoklch(62.07% 0.22 299.8)
XYZxyz(33.9708, 21.1816, 87.8691)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BF4 #B2F45B
analogous
#5B65F4 #9D5BF4 #E95BF4
triadic
#9D5BF4 #F49D5B #5BF49D
tetradic
#9D5BF4 #F45B65 #B2F45B #5BF4E9
square
#9D5BF4 #F45B65 #B2F45B #5BF4E9
split-complementary
#9D5BF4 #F4E95B #65F45B
monochromatic
#5E0DC7 #7B22F0 #9D5BF4 #BF94F8 #E2CEFC

Accessibility & contrast

On white

4.01
#9D5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9D5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BF4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BF4#FFFFFF#000000##000000
##9D5BF41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#157EF1
Tritanopia (blue-blind)
#8A7D9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d5bf4;
/* rgb */ color: rgb(157, 91, 244);
/* oklch */ color: oklch(62.1% 0.220 299.8);
Tailwind
colors: {
  custom: {
    50: '#bf8df9',
    500: '#9d5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #9d5bf4;
$custom-light: #bf8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5bf4",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 265.882,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.21959,
    "h": 299.8
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

primary
#9D5BF4
secondary
#D9EFBC
accent
#E40282
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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