#9D5BF3#9D5BF3

#9D5BF3 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.218 H 300.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9D5BF3
RGBrgb(157, 91, 243)
HSLhsl(266, 86%, 65%)
HSVhsv(266, 63%, 95%)
CMYKcmyk(35.4%, 62.6%, 0%, 4.7%)
CIE-LABlab(53.08, 56.54, -66.53)
CIE-LCHlch(53.08, 87.31, 310.36°)
OKLaboklab(62% 0.1093 -0.1892)
OKLCHoklch(62% 0.218 300)
XYZxyz(33.8194, 21.1211, 87.0717)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BF3 #B1F35B
analogous
#5B65F3 #9D5BF3 #E95BF3
triadic
#9D5BF3 #F39D5B #5BF39D
tetradic
#9D5BF3 #F35B65 #B1F35B #5BF3E9
square
#9D5BF3 #F35B65 #B1F35B #5BF3E9
split-complementary
#9D5BF3 #F3E95B #65F35B
monochromatic
#5E0EC5 #7B22EF #9D5BF3 #BF94F7 #E1CDFB

Accessibility & contrast

On white

4.02
#9D5BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9D5BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BF3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BF3#FFFFFF#000000##000000
##9D5BF31.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#197EF0
Tritanopia (blue-blind)
#8A7C9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d5bf3;
/* rgb */ color: rgb(157, 91, 243);
/* oklch */ color: oklch(62.0% 0.218 300.0);
Tailwind
colors: {
  custom: {
    50: '#bf8df8',
    500: '#9d5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #9d5bf3;
$custom-light: #bf8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5bf3",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 266.053,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61997,
    "c": 0.21847,
    "h": 300
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#9D5BF3
secondary
#D8EEBB
accent
#E30382
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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