#9E6FEE#9E6FEE

#9E6FEE is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.185 H 298.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9E6FEE
RGBrgb(158, 111, 238)
HSLhsl(262, 79%, 68%)
HSVhsv(262, 53%, 93%)
CMYKcmyk(33.6%, 53.4%, 0%, 6.7%)
CIE-LABlab(56.89, 44.93, -57.62)
CIE-LCHlch(56.89, 73.06, 307.95°)
OKLaboklab(64.71% 0.0872 -0.163)
OKLCHoklch(64.71% 0.185 298.1)
XYZxyz(35.2138, 24.8106, 83.8060)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6FEE #BFEE6F
analogous
#6F7FEE #9E6FEE #DE6FEE
triadic
#9E6FEE #EE9E6F #6FEE9E
tetradic
#9E6FEE #EE6F7F #BFEE6F #6FEEDE
square
#9E6FEE #EE6F7F #BFEE6F #6FEEDE
split-complementary
#9E6FEE #EEDE6F #7FEE6F
monochromatic
#5A18CB #7938E8 #9E6FEE #C3A6F4 #E8DCFB

Accessibility & contrast

On white

3.52
#9E6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9E6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6FEE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6FEE#FFFFFF#000000##000000
##9E6FEE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F2
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#8C88A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6fee;
/* rgb */ color: rgb(158, 111, 238);
/* oklch */ color: oklch(64.7% 0.185 298.1);
Tailwind
colors: {
  custom: {
    50: '#be9af4',
    500: '#9e6fee',
    950: '#000000',
  },
}
SCSS
$custom: #9e6fee;
$custom-light: #be9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6fee",
  "rgb": {
    "r": 158,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 262.205,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6471,
    "c": 0.1848,
    "h": 298.1
  },
  "luminance": 0.24811
}

Semantic roles & 50–950 ramp

primary
#9E6FEE
secondary
#E1F0C9
accent
#DB0A8E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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