#9E5EF3#9E5EF3

#9E5EF3 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.215 H 300.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9E5EF3
RGBrgb(158, 94, 243)
HSLhsl(266, 86%, 66%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(35%, 61.3%, 0%, 4.7%)
CIE-LABlab(53.76, 55.23, -65.44)
CIE-LCHlch(53.76, 85.63, 310.16°)
OKLaboklab(62.51% 0.1073 -0.1859)
OKLCHoklch(62.51% 0.215 300)
XYZxyz(34.2770, 21.7453, 87.1680)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EF3 #B3F35E
analogous
#5E68F3 #9E5EF3 #E95EF3
triadic
#9E5EF3 #F39E5E #5EF39E
tetradic
#9E5EF3 #F35E68 #B3F35E #5EF3E9
square
#9E5EF3 #F35E68 #B3F35E #5EF3E9
split-complementary
#9E5EF3 #F3E95E #68F35E
monochromatic
#5E0FC8 #7C25EF #9E5EF3 #C097F7 #E3D0FB

Accessibility & contrast

On white

3.93
#9E5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9E5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5EF3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EF3#FFFFFF#000000##000000
##9E5EF31.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#247FF0
Tritanopia (blue-blind)
#8C7EA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5ef3;
/* rgb */ color: rgb(158, 94, 243);
/* oklch */ color: oklch(62.5% 0.215 300.0);
Tailwind
colors: {
  custom: {
    50: '#c08ff8',
    500: '#9e5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ef3;
$custom-light: #c08ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ef3",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 265.772,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.21465,
    "h": 300
  },
  "luminance": 0.21746
}

Semantic roles & 50–950 ramp

primary
#9E5EF3
secondary
#DAEFBE
accent
#E30383
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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