#9A6BE5#9A6BE5

#9A6BE5 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.1% C 0.179 H 299.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9A6BE5
RGBrgb(154, 107, 229)
HSLhsl(263, 70%, 66%)
HSVhsv(263, 53%, 90%)
CMYKcmyk(32.8%, 53.3%, 0%, 10.2%)
CIE-LABlab(55.12, 43.90, -55.45)
CIE-LCHlch(55.12, 70.72, 308.37°)
OKLaboklab(63.14% 0.0868 -0.1567)
OKLCHoklch(63.14% 0.179 299)
XYZxyz(32.7236, 23.0423, 76.8371)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6BE5 #B6E56B
analogous
#6B79E5 #9A6BE5 #D76BE5
triadic
#9A6BE5 #E59A6B #6BE59A
tetradic
#9A6BE5 #E56B79 #B6E56B #6BE5D7
square
#9A6BE5 #E56B79 #B6E56B #6BE5D7
split-complementary
#9A6BE5 #E5D76B #79E56B
monochromatic
#5A20B6 #7637DC #9A6BE5 #BE9FEE #E1D3F7

Accessibility & contrast

On white

3.74
#9A6BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9A6BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6BE5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6BE5#FFFFFF#000000##000000
##9A6BE51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#4983E2
Tritanopia (blue-blind)
#8A839E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a6be5;
/* rgb */ color: rgb(154, 107, 229);
/* oklch */ color: oklch(63.1% 0.179 299.0);
Tailwind
colors: {
  custom: {
    50: '#bb97ee',
    500: '#9a6be5',
    950: '#000000',
  },
}
SCSS
$custom: #9a6be5;
$custom-light: #bb97ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6be5",
  "rgb": {
    "r": 154,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 263.115,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63138,
    "c": 0.17912,
    "h": 299
  },
  "luminance": 0.23043
}

Semantic roles & 50–950 ramp

primary
#9A6BE5
secondary
#DBEAC2
accent
#D21389
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A6BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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