#9E6DF2#9E6DF2

#9E6DF2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.6% C 0.193 H 297.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9E6DF2
RGBrgb(158, 109, 242)
HSLhsl(262, 84%, 69%)
HSVhsv(262, 55%, 95%)
CMYKcmyk(34.7%, 55%, 0%, 5.1%)
CIE-LABlab(56.70, 47.03, -60.15)
CIE-LCHlch(56.70, 76.35, 308.02°)
OKLaboklab(64.65% 0.0898 -0.1704)
OKLCHoklch(64.65% 0.193 297.8)
XYZxyz(35.5922, 24.6167, 86.8635)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6DF2 #C1F26D
analogous
#6D7FF2 #9E6DF2 #E06DF2
triadic
#9E6DF2 #F29E6D #6DF29E
tetradic
#9E6DF2 #F26D7F #C1F26D #6DF2E0
square
#9E6DF2 #F26D7F #C1F26D #6DF2E0
split-complementary
#9E6DF2 #F2E06D #7FF26D
monochromatic
#5913D2 #7935ED #9E6DF2 #C3A5F7 #E9DDFC

Accessibility & contrast

On white

3.55
#9E6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9E6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6DF2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6DF2#FFFFFF#000000##000000
##9E6DF21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#8B88A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6df2;
/* rgb */ color: rgb(158, 109, 242);
/* oklch */ color: oklch(64.6% 0.193 297.8);
Tailwind
colors: {
  custom: {
    50: '#bf98f7',
    500: '#9e6df2',
    950: '#000000',
  },
}
SCSS
$custom: #9e6df2;
$custom-light: #bf98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6df2",
  "rgb": {
    "r": 158,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 262.105,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64645,
    "c": 0.19257,
    "h": 297.8
  },
  "luminance": 0.24617
}

Semantic roles & 50–950 ramp

primary
#9E6DF2
secondary
#E3F1CA
accent
#E00590
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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