#9E6DFA#9E6DFA

#9E6DFA is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.2% C 0.202 H 296.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9E6DFA
RGBrgb(158, 109, 250)
HSLhsl(261, 93%, 70%)
HSVhsv(261, 56%, 98%)
CMYKcmyk(36.8%, 56.4%, 0%, 2%)
CIE-LABlab(57.18, 49.06, -63.81)
CIE-LCHlch(57.18, 80.49, 307.55°)
OKLaboklab(65.15% 0.0898 -0.1811)
OKLCHoklch(65.15% 0.202 296.4)
XYZxyz(36.8201, 25.1079, 93.3304)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6DFA #C9FA6D
analogous
#6D82FA #9E6DFA #E46DFA
triadic
#9E6DFA #FA9E6D #6DFA9E
tetradic
#9E6DFA #FA6D82 #C9FA6D #6DFAE4
square
#9E6DFA #FA6D82 #C9FA6D #6DFAE4
split-complementary
#9E6DFA #FAE46D #82FA6D
monochromatic
#5508E5 #7732F8 #9E6DFA #C5A8FC #EBE1FE

Accessibility & contrast

On white

3.49
#9E6DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9E6DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6DFA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6DFA#FFFFFF#000000##000000
##9E6DFA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#238AFF
Deuteranopia (green-blind)
#3887F7
Tritanopia (blue-blind)
#888BA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e6dfa;
/* rgb */ color: rgb(158, 109, 250);
/* oklch */ color: oklch(65.2% 0.202 296.4);
Tailwind
colors: {
  custom: {
    50: '#bf98fd',
    500: '#9e6dfa',
    950: '#000000',
  },
}
SCSS
$custom: #9e6dfa;
$custom-light: #bf98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6dfa",
  "rgb": {
    "r": 158,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 260.851,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65152,
    "c": 0.2022,
    "h": 296.4
  },
  "luminance": 0.25109
}

Semantic roles & 50–950 ramp

primary
#9E6DFA
secondary
#E7F5CE
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E6DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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