#9A6DFD#9A6DFD

#9A6DFD is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.0% C 0.205 H 294.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9A6DFD
RGBrgb(154, 109, 253)
HSLhsl(259, 97%, 71%)
HSVhsv(259, 57%, 99%)
CMYKcmyk(39.1%, 56.9%, 0%, 0.8%)
CIE-LABlab(56.98, 48.94, -65.82)
CIE-LCHlch(56.98, 82.02, 306.64°)
OKLaboklab(64.97% 0.0848 -0.1872)
OKLCHoklch(64.97% 0.205 294.4)
XYZxyz(36.5200, 24.8983, 95.7912)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6DFD #D0FD6D
analogous
#6D88FD #9A6DFD #E26DFD
triadic
#9A6DFD #FD9A6D #6DFD9A
tetradic
#9A6DFD #FD6D88 #D0FD6D #6DFDE2
square
#9A6DFD #FD6D88 #D0FD6D #6DFDE2
split-complementary
#9A6DFD #FDE26D #88FD6D
monochromatic
#4C03EC #7031FC #9A6DFD #C4A9FE #EAE1FF

Accessibility & contrast

On white

3.51
#9A6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9A6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6DFD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6DFD#FFFFFF#000000##000000
##9A6DFD1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#188AFF
Deuteranopia (green-blind)
#2D86FA
Tritanopia (blue-blind)
#818CAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a6dfd;
/* rgb */ color: rgb(154, 109, 253);
/* oklch */ color: oklch(65.0% 0.205 294.4);
Tailwind
colors: {
  custom: {
    50: '#bd98ff',
    500: '#9a6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9a6dfd;
$custom-light: #bd98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6dfd",
  "rgb": {
    "r": 154,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 258.75,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.20548,
    "h": 294.4
  },
  "luminance": 0.24899
}

Semantic roles & 50–950 ramp

primary
#9A6DFD
secondary
#EAF6D0
accent
#E6009E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9A6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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