#9E5CF7#9E5CF7

#9E5CF7 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.222 H 299.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9E5CF7
RGBrgb(158, 92, 247)
HSLhsl(266, 91%, 66%)
HSVhsv(266, 63%, 97%)
CMYKcmyk(36%, 62.8%, 0%, 3.1%)
CIE-LABlab(53.64, 57.22, -67.85)
CIE-LCHlch(53.64, 88.76, 310.14°)
OKLaboklab(62.51% 0.1092 -0.193)
OKLCHoklch(62.51% 0.222 299.5)
XYZxyz(34.7121, 21.6384, 90.3255)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CF7 #B5F75C
analogous
#5C68F7 #9E5CF7 #EB5CF7
triadic
#9E5CF7 #F79E5C #5CF79E
tetradic
#9E5CF7 #F75C68 #B5F75C #5CF7EB
square
#9E5CF7 #F75C68 #B5F75C #5CF7EB
split-complementary
#9E5CF7 #F7EB5C #68F75C
monochromatic
#5E0ACE #7B22F4 #9E5CF7 #C196FA #E3D1FD

Accessibility & contrast

On white

3.94
#9E5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9E5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CF7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CF7#FFFFFF#000000##000000
##9E5CF71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#117FF4
Tritanopia (blue-blind)
#8A7EA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5cf7;
/* rgb */ color: rgb(158, 92, 247);
/* oklch */ color: oklch(62.5% 0.222 299.5);
Tailwind
colors: {
  custom: {
    50: '#c08dfb',
    500: '#9e5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #9e5cf7;
$custom-light: #c08dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5cf7",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 265.548,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.22177,
    "h": 299.5
  },
  "luminance": 0.21639
}

Semantic roles & 50–950 ramp

primary
#9E5CF7
secondary
#DBF1BE
accent
#E60084
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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