#9E5EF2#9E5EF2

#9E5EF2 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.214 H 300.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9E5EF2
RGBrgb(158, 94, 242)
HSLhsl(266, 85%, 66%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(34.7%, 61.2%, 0%, 5.1%)
CIE-LABlab(53.69, 54.98, -64.98)
CIE-LCHlch(53.69, 85.12, 310.23°)
OKLaboklab(62.44% 0.1073 -0.1846)
OKLCHoklch(62.44% 0.214 300.2)
XYZxyz(34.1264, 21.6851, 86.3749)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EF2 #B2F25E
analogous
#5E68F2 #9E5EF2 #E85EF2
triadic
#9E5EF2 #F29E5E #5EF29E
tetradic
#9E5EF2 #F25E68 #B2F25E #5EF2E8
square
#9E5EF2 #F25E68 #B2F25E #5EF2E8
split-complementary
#9E5EF2 #F2E85E #68F25E
monochromatic
#5F10C6 #7C25ED #9E5EF2 #C097F7 #E2CFFB

Accessibility & contrast

On white

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

On black

5.34
#9E5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5EF2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EF2#FFFFFF#000000##000000
##9E5EF21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#267FEF
Tritanopia (blue-blind)
#8C7E9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5ef2;
/* rgb */ color: rgb(158, 94, 242);
/* oklch */ color: oklch(62.4% 0.214 300.2);
Tailwind
colors: {
  custom: {
    50: '#c08ff7',
    500: '#9e5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ef2;
$custom-light: #c08ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ef2",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 265.946,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62443,
    "c": 0.21352,
    "h": 300.2
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#9E5EF2
secondary
#D9EEBD
accent
#E20482
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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