#9E6EF2#9E6EF2

#9E6EF2 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.8% C 0.191 H 297.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9E6EF2
RGBrgb(158, 110, 242)
HSLhsl(262, 84%, 69%)
HSVhsv(262, 55%, 95%)
CMYKcmyk(34.7%, 54.5%, 0%, 5.1%)
CIE-LABlab(56.91, 46.48, -59.81)
CIE-LCHlch(56.91, 75.75, 307.85°)
OKLaboklab(64.8% 0.0885 -0.1694)
OKLCHoklch(64.8% 0.191 297.6)
XYZxyz(35.6995, 24.8313, 86.8993)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6EF2 #C2F26E
analogous
#6E80F2 #9E6EF2 #E06EF2
triadic
#9E6EF2 #F29E6E #6EF29E
tetradic
#9E6EF2 #F26E80 #C2F26E #6EF2E0
square
#9E6EF2 #F26E80 #C2F26E #6EF2E0
split-complementary
#9E6EF2 #F2E06E #80F26E
monochromatic
#5913D3 #7836ED #9E6EF2 #C4A6F7 #E9DEFC

Accessibility & contrast

On white

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

On black

5.97
#9E6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6EF2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6EF2#FFFFFF#000000##000000
##9E6EF21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#8B89A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e6ef2;
/* rgb */ color: rgb(158, 110, 242);
/* oklch */ color: oklch(64.8% 0.191 297.6);
Tailwind
colors: {
  custom: {
    50: '#bf99f7',
    500: '#9e6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #9e6ef2;
$custom-light: #bf99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6ef2",
  "rgb": {
    "r": 158,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 261.818,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.648,
    "c": 0.19113,
    "h": 297.6
  },
  "luminance": 0.24832
}

Semantic roles & 50–950 ramp

primary
#9E6EF2
secondary
#E3F1CB
accent
#E00691
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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