#9E5EF7#9E5EF7

#9E5EF7 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.219 H 299.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9E5EF7
RGBrgb(158, 94, 247)
HSLhsl(265, 91%, 67%)
HSVhsv(265, 62%, 97%)
CMYKcmyk(36%, 61.9%, 0%, 3.1%)
CIE-LABlab(54.02, 56.21, -67.25)
CIE-LCHlch(54.02, 87.64, 309.89°)
OKLaboklab(62.78% 0.107 -0.1912)
OKLCHoklch(62.78% 0.219 299.2)
XYZxyz(34.8876, 21.9895, 90.3840)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EF7 #B7F75E
analogous
#5E6BF7 #9E5EF7 #EB5EF7
triadic
#9E5EF7 #F79E5E #5EF79E
tetradic
#9E5EF7 #F75E6B #B7F75E #5EF7EB
square
#9E5EF7 #F75E6B #B7F75E #5EF7EB
split-complementary
#9E5EF7 #F7EB5E #6BF75E
monochromatic
#5D0AD0 #7B24F4 #9E5EF7 #C198FA #E4D3FD

Accessibility & contrast

On white

3.89
#9E5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9E5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5EF7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EF7#FFFFFF#000000##000000
##9E5EF71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#1980F4
Tritanopia (blue-blind)
#8A80A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e5ef7;
/* rgb */ color: rgb(158, 94, 247);
/* oklch */ color: oklch(62.8% 0.219 299.2);
Tailwind
colors: {
  custom: {
    50: '#c08ffb',
    500: '#9e5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ef7;
$custom-light: #c08ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ef7",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 265.098,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62782,
    "c": 0.21915,
    "h": 299.2
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#9E5EF7
secondary
#DCF1C0
accent
#E60086
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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