#9D5EF1#9D5EF1

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

Color values

HEX#9D5EF1
RGBrgb(157, 94, 241)
HSLhsl(266, 84%, 66%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(34.9%, 61%, 0%, 5.5%)
CIE-LABlab(53.52, 54.52, -64.71)
CIE-LCHlch(53.52, 84.62, 310.12°)
OKLaboklab(62.27% 0.1061 -0.1838)
OKLCHoklch(62.27% 0.212 300)
XYZxyz(33.7807, 21.5241, 85.5769)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EF1 #B2F15E
analogous
#5E68F1 #9D5EF1 #E65EF1
triadic
#9D5EF1 #F19D5E #5EF19D
tetradic
#9D5EF1 #F15E68 #B2F15E #5EF1E6
square
#9D5EF1 #F15E68 #B2F15E #5EF1E6
split-complementary
#9D5EF1 #F1E65E #68F15E
monochromatic
#5E11C4 #7B26EC #9D5EF1 #BF96F6 #E2CFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D5EF1#FFFFFF#000000##000000
##9D5EF11.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)
#007FF6
Deuteranopia (green-blind)
#267FEE
Tritanopia (blue-blind)
#8B7E9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5ef1;
/* rgb */ color: rgb(157, 94, 241);
/* oklch */ color: oklch(62.3% 0.212 300.0);
Tailwind
colors: {
  custom: {
    50: '#bf8ff6',
    500: '#9d5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ef1;
$custom-light: #bf8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ef1",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 265.714,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62272,
    "c": 0.21223,
    "h": 300
  },
  "luminance": 0.21524
}

Semantic roles & 50–950 ramp

primary
#9D5EF1
secondary
#D9EEBD
accent
#E00582
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9D5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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