#9D5FF1#9D5FF1

#9D5FF1 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.211 H 299.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D5FF1
RGBrgb(157, 95, 241)
HSLhsl(265, 84%, 66%)
HSVhsv(265, 61%, 95%)
CMYKcmyk(34.9%, 60.6%, 0%, 5.5%)
CIE-LABlab(53.71, 54.01, -64.40)
CIE-LCHlch(53.71, 84.05, 309.98°)
OKLaboklab(62.41% 0.105 -0.1829)
OKLCHoklch(62.41% 0.211 299.9)
XYZxyz(33.8702, 21.7031, 85.6067)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FF1 #B3F15F
analogous
#5F6AF1 #9D5FF1 #E65FF1
triadic
#9D5FF1 #F19D5F #5FF19D
tetradic
#9D5FF1 #F15F6A #B3F15F #5FF1E6
square
#9D5FF1 #F15F6A #B3F15F #5FF1E6
split-complementary
#9D5FF1 #F1E65F #6AF15F
monochromatic
#5D11C4 #7B27EC #9D5FF1 #BF97F6 #E2D0FB

Accessibility & contrast

On white

3.93
#9D5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9D5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FF1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FF1#FFFFFF#000000##000000
##9D5FF11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#297FEE
Tritanopia (blue-blind)
#8B7E9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5ff1;
/* rgb */ color: rgb(157, 95, 241);
/* oklch */ color: oklch(62.4% 0.211 299.9);
Tailwind
colors: {
  custom: {
    50: '#bf8ff6',
    500: '#9d5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ff1;
$custom-light: #bf8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ff1",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 265.479,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62412,
    "c": 0.21088,
    "h": 299.9
  },
  "luminance": 0.21703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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