#9D5FEF#9D5FEF

#9D5FEF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.3% C 0.209 H 300.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9D5FEF
RGBrgb(157, 95, 239)
HSLhsl(266, 82%, 65%)
HSVhsv(266, 60%, 94%)
CMYKcmyk(34.3%, 60.3%, 0%, 6.3%)
CIE-LABlab(53.58, 53.52, -63.49)
CIE-LCHlch(53.58, 83.04, 310.13°)
OKLaboklab(62.28% 0.1051 -0.1802)
OKLCHoklch(62.28% 0.209 300.2)
XYZxyz(33.5731, 21.5843, 84.0420)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FEF #B1EF5F
analogous
#5F69EF #9D5FEF #E55FEF
triadic
#9D5FEF #EF9D5F #5FEF9D
tetradic
#9D5FEF #EF5F69 #B1EF5F #5FEFE5
square
#9D5FEF #EF5F69 #B1EF5F #5FEFE5
split-complementary
#9D5FEF #EFE55F #69EF5F
monochromatic
#5E13C0 #7B27E9 #9D5FEF #BF97F5 #E1CEFA

Accessibility & contrast

On white

3.95
#9D5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9D5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FEF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FEF#FFFFFF#000000##000000
##9D5FEF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#2C7FEC
Tritanopia (blue-blind)
#8C7E9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5fef;
/* rgb */ color: rgb(157, 95, 239);
/* oklch */ color: oklch(62.3% 0.209 300.2);
Tailwind
colors: {
  custom: {
    50: '#bf8ff5',
    500: '#9d5fef',
    950: '#000000',
  },
}
SCSS
$custom: #9d5fef;
$custom-light: #bf8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5fef",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 265.833,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62279,
    "c": 0.20861,
    "h": 300.2
  },
  "luminance": 0.21585
}

Semantic roles & 50–950 ramp

primary
#9D5FEF
secondary
#D8EDBD
accent
#DE0782
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9D5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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