#9E5FEB#9E5FEB

#9E5FEB is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.1% C 0.204 H 301.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9E5FEB
RGBrgb(158, 95, 235)
HSLhsl(267, 78%, 65%)
HSVhsv(267, 60%, 92%)
CMYKcmyk(32.8%, 59.6%, 0%, 7.8%)
CIE-LABlab(53.44, 52.76, -61.48)
CIE-LCHlch(53.44, 81.01, 310.64°)
OKLaboklab(62.12% 0.1065 -0.1743)
OKLCHoklch(62.12% 0.204 301.4)
XYZxyz(33.1846, 21.4515, 80.9734)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FEB #ACEB5F
analogous
#5F66EB #9E5FEB #E45FEB
triadic
#9E5FEB #EB9E5F #5FEB9E
tetradic
#9E5FEB #EB5F66 #ACEB5F #5FEBE4
square
#9E5FEB #EB5F66 #ACEB5F #5FEBE4
split-complementary
#9E5FEB #EBE45F #66EB5F
monochromatic
#6017B9 #7D29E4 #9E5FEB #BF95F2 #E0CCF9

Accessibility & contrast

On white

3.97
#9E5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9E5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FEB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FEB#FFFFFF#000000##000000
##9E5FEB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#087FEF
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#8E7C9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5feb;
/* rgb */ color: rgb(158, 95, 235);
/* oklch */ color: oklch(62.1% 0.204 301.4);
Tailwind
colors: {
  custom: {
    50: '#bf8ff2',
    500: '#9e5feb',
    950: '#000000',
  },
}
SCSS
$custom: #9e5feb;
$custom-light: #bf8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5feb",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 267,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62119,
    "c": 0.20423,
    "h": 301.4
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#9E5FEB
secondary
#D5EBBB
accent
#DA0B7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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