#9A6FCE#9A6FCE

#9A6FCE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.5% C 0.144 H 303.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9A6FCE
RGBrgb(154, 111, 206)
HSLhsl(267, 49%, 62%)
HSVhsv(267, 46%, 81%)
CMYKcmyk(25.2%, 46.1%, 0%, 19.2%)
CIE-LABlab(54.76, 36.01, -43.04)
CIE-LCHlch(54.76, 56.11, 309.92°)
OKLaboklab(62.47% 0.0794 -0.1204)
OKLCHoklch(62.47% 0.144 303.4)
XYZxyz(30.1490, 22.6952, 61.1728)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6FCE #A3CE6F
analogous
#6F74CE #9A6FCE #CA6FCE
triadic
#9A6FCE #CE9A6F #6FCE9A
tetradic
#9A6FCE #CE6F74 #A3CE6F #6FCECA
square
#9A6FCE #CE6F74 #A3CE6F #6FCECA
split-complementary
#9A6FCE #CECA6F #74CE6F
monochromatic
#5D3191 #7A41BE #9A6FCE #BA9DDE #DACAED

Accessibility & contrast

On white

3.79
#9A6FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9A6FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6FCE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6FCE#FFFFFF#000000##000000
##9A6FCE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#917F95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9a6fce;
/* rgb */ color: rgb(154, 111, 206);
/* oklch */ color: oklch(62.5% 0.144 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba99dd',
    500: '#9a6fce',
    950: '#000000',
  },
}
SCSS
$custom: #9a6fce;
$custom-light: #ba99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6fce",
  "rgb": {
    "r": 154,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 267.158,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.14424,
    "h": 303.4
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#9A6FCE
secondary
#CEDEBB
accent
#BD297A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9A6FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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