#A956E9#A956E9

#A956E9 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.217 H 307.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A956E9
RGBrgb(169, 86, 233)
HSLhsl(274, 77%, 63%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27.5%, 63.1%, 0%, 8.6%)
CIE-LABlab(52.92, 59.23, -61.12)
CIE-LCHlch(52.92, 85.11, 314.10°)
OKLaboklab(61.98% 0.131 -0.1729)
OKLCHoklch(61.98% 0.217 307.2)
XYZxyz(34.3949, 20.9742, 79.3115)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956E9 #96E956
analogous
#6056E9 #A956E9 #E956DF
triadic
#A956E9 #E9A956 #56E9A9
tetradic
#A956E9 #E96056 #96E956 #56DFE9
square
#A956E9 #E96056 #96E956 #56DFE9
split-complementary
#A956E9 #DFE956 #56E960
monochromatic
#6C17AE #8D20E2 #A956E9 #C58CF0 #E0C2F7

Accessibility & contrast

On white

4.04
#A956E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A956E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956E9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956E9#FFFFFF#000000##000000
##A956E91.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#9F7498
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a956e9;
/* rgb */ color: rgb(169, 86, 233);
/* oklch */ color: oklch(62.0% 0.217 307.2);
Tailwind
colors: {
  custom: {
    50: '#c78af1',
    500: '#a956e9',
    950: '#000000',
  },
}
SCSS
$custom: #a956e9;
$custom-light: #c78af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a956e9",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 273.878,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61983,
    "c": 0.21689,
    "h": 307.2
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#A956E9
secondary
#CAE8B3
accent
#D90C66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A956E9

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

Preview Lab → · Contrast checker → · Palette generator →

#A956E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva