#9E5AE7#9E5AE7

#9E5AE7 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.207 H 303.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9E5AE7
RGBrgb(158, 90, 231)
HSLhsl(269, 75%, 63%)
HSVhsv(269, 61%, 91%)
CMYKcmyk(31.6%, 61%, 0%, 9.4%)
CIE-LABlab(52.23, 54.37, -61.17)
CIE-LCHlch(52.23, 81.85, 311.63°)
OKLaboklab(61.16% 0.1125 -0.1734)
OKLCHoklch(61.16% 0.207 303)
XYZxyz(32.1772, 20.3510, 77.8188)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5AE7 #A3E75A
analogous
#5A5CE7 #9E5AE7 #E45AE7
triadic
#9E5AE7 #E79E5A #5AE79E
tetradic
#9E5AE7 #E75A5C #A3E75A #5AE7E4
square
#9E5AE7 #E75A5C #A3E75A #5AE7E4
split-complementary
#9E5AE7 #E7E45A #5CE75A
monochromatic
#6119AD #7F25DF #9E5AE7 #BD8FEF #DDC5F7

Accessibility & contrast

On white

4.14
#9E5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9E5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5AE7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5AE7#FFFFFF#000000##000000
##9E5AE71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#327CE4
Tritanopia (blue-blind)
#907898
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e5ae7;
/* rgb */ color: rgb(158, 90, 231);
/* oklch */ color: oklch(61.2% 0.207 303.0);
Tailwind
colors: {
  custom: {
    50: '#bf8cef',
    500: '#9e5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ae7;
$custom-light: #bf8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ae7",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 268.936,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.20665,
    "h": 303
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#9E5AE7
secondary
#CFE8B5
accent
#D70F76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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