#9A6AFA#9A6AFA

#9A6AFA is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.3% C 0.206 H 295.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9A6AFA
RGBrgb(154, 106, 250)
HSLhsl(260, 94%, 70%)
HSVhsv(260, 58%, 98%)
CMYKcmyk(38.4%, 57.6%, 0%, 2%)
CIE-LABlab(56.17, 49.80, -65.46)
CIE-LCHlch(56.17, 82.25, 307.26°)
OKLaboklab(64.32% 0.0883 -0.1861)
OKLCHoklch(64.32% 0.206 295.4)
XYZxyz(35.7313, 24.0795, 93.1892)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6AFA #CAFA6A
analogous
#6A82FA #9A6AFA #E26AFA
triadic
#9A6AFA #FA9A6A #6AFA9A
tetradic
#9A6AFA #FA6A82 #CAFA6A #6AFAE2
square
#9A6AFA #FA6A82 #CAFA6A #6AFAE2
split-complementary
#9A6AFA #FAE26A #82FA6A
monochromatic
#5008E2 #722FF8 #9A6AFA #C2A5FC #EAE0FE

Accessibility & contrast

On white

3.61
#9A6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9A6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6AFA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6AFA#FFFFFF#000000##000000
##9A6AFA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1088FF
Deuteranopia (green-blind)
#2C85F7
Tritanopia (blue-blind)
#8289A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a6afa;
/* rgb */ color: rgb(154, 106, 250);
/* oklch */ color: oklch(64.3% 0.206 295.4);
Tailwind
colors: {
  custom: {
    50: '#bd96fd',
    500: '#9a6afa',
    950: '#000000',
  },
}
SCSS
$custom: #9a6afa;
$custom-light: #bd96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6afa",
  "rgb": {
    "r": 154,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 260,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64317,
    "c": 0.206,
    "h": 295.4
  },
  "luminance": 0.2408
}

Semantic roles & 50–950 ramp

primary
#9A6AFA
secondary
#E7F4CC
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9A6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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