#9A6DCA#9A6DCA

#9A6DCA is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.9% C 0.142 H 304.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9A6DCA
RGBrgb(154, 109, 202)
HSLhsl(269, 47%, 61%)
HSVhsv(269, 46%, 79%)
CMYKcmyk(23.8%, 46%, 0%, 20.8%)
CIE-LABlab(54.10, 36.18, -41.79)
CIE-LCHlch(54.10, 55.28, 310.89°)
OKLaboklab(61.91% 0.0816 -0.1168)
OKLCHoklch(61.91% 0.143 304.9)
XYZxyz(29.4535, 22.0717, 58.5743)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6DCA #9DCA6D
analogous
#6D6ECA #9A6DCA #C86DCA
triadic
#9A6DCA #CA9A6D #6DCA9A
tetradic
#9A6DCA #CA6D6E #9DCA6D #6DCAC8
square
#9A6DCA #CA6D6E #9DCA6D #6DCAC8
split-complementary
#9A6DCA #CAC86D #6ECA6D
monochromatic
#5D328A #7B43B7 #9A6DCA #B99ADA #D8C7EB

Accessibility & contrast

On white

3.88
#9A6DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9A6DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6DCA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6DCA#FFFFFF#000000##000000
##9A6DCA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#927D92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9a6dca;
/* rgb */ color: rgb(154, 109, 202);
/* oklch */ color: oklch(61.9% 0.142 304.9);
Tailwind
colors: {
  custom: {
    50: '#ba98da',
    500: '#9a6dca',
    950: '#000000',
  },
}
SCSS
$custom: #9a6dca;
$custom-light: #ba98da;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6dca",
  "rgb": {
    "r": 154,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 269.032,
    "s": 46.734,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.1425,
    "h": 304.9
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#9A6DCA
secondary
#CADBB8
accent
#BA2C75
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9A6DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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