#9D5FF4#9D5FF4

#9D5FF4 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.6% C 0.214 H 299.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D5FF4
RGBrgb(157, 95, 244)
HSLhsl(265, 87%, 66%)
HSVhsv(265, 61%, 96%)
CMYKcmyk(35.7%, 61.1%, 0%, 4.3%)
CIE-LABlab(53.90, 54.74, -65.76)
CIE-LCHlch(53.90, 85.57, 309.78°)
OKLaboklab(62.61% 0.1048 -0.1869)
OKLCHoklch(62.61% 0.214 299.3)
XYZxyz(34.3219, 21.8838, 87.9862)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FF4 #B6F45F
analogous
#5F6CF4 #9D5FF4 #E75FF4
triadic
#9D5FF4 #F49D5F #5FF49D
tetradic
#9D5FF4 #F45F6C #B6F45F #5FF4E7
square
#9D5FF4 #F45F6C #B6F45F #5FF4E7
split-complementary
#9D5FF4 #F4E75F #6CF45F
monochromatic
#5C0ECB #7A26F0 #9D5FF4 #C098F8 #E3D2FC

Accessibility & contrast

On white

3.91
#9D5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9D5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FF4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FF4#FFFFFF#000000##000000
##9D5FF41.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#2280F1
Tritanopia (blue-blind)
#8A7FA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d5ff4;
/* rgb */ color: rgb(157, 95, 244);
/* oklch */ color: oklch(62.6% 0.214 299.3);
Tailwind
colors: {
  custom: {
    50: '#bf8ff9',
    500: '#9d5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ff4;
$custom-light: #bf8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ff4",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 264.966,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62614,
    "c": 0.21429,
    "h": 299.3
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

primary
#9D5FF4
secondary
#DBF0BF
accent
#E40286
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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