#9E5FED#9E5FED

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

Color values

HEX#9E5FED
RGBrgb(158, 95, 237)
HSLhsl(267, 80%, 65%)
HSVhsv(267, 60%, 93%)
CMYKcmyk(33.3%, 59.9%, 0%, 7.1%)
CIE-LABlab(53.57, 53.25, -62.39)
CIE-LCHlch(53.57, 82.03, 310.48°)
OKLaboklab(62.25% 0.1064 -0.177)
OKLCHoklch(62.25% 0.207 301)
XYZxyz(33.4752, 21.5678, 82.5037)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FED #AEED5F
analogous
#5F67ED #9E5FED #E55FED
triadic
#9E5FED #ED9E5F #5FED9E
tetradic
#9E5FED #ED5F67 #AEED5F #5FEDE5
square
#9E5FED #ED5F67 #AEED5F #5FEDE5
split-complementary
#9E5FED #EDE55F #67ED5F
monochromatic
#5F15BC #7D28E7 #9E5FED #BF96F3 #E1CDF9

Accessibility & contrast

On white

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

On black

5.31
#9E5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FED#FFFFFF#000000##000000
##9E5FED1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#8E7D9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5fed;
/* rgb */ color: rgb(158, 95, 237);
/* oklch */ color: oklch(62.3% 0.206 301.0);
Tailwind
colors: {
  custom: {
    50: '#bf8ff4',
    500: '#9e5fed',
    950: '#000000',
  },
}
SCSS
$custom: #9e5fed;
$custom-light: #bf8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5fed",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 266.62,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6225,
    "c": 0.2065,
    "h": 301
  },
  "luminance": 0.21568
}

Semantic roles & 50–950 ramp

primary
#9E5FED
secondary
#D7ECBC
accent
#DC097F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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