#A956E8#A956E8

#A956E8 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.216 H 307.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A956E8
RGBrgb(169, 86, 232)
HSLhsl(274, 76%, 62%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27.2%, 62.9%, 0%, 9%)
CIE-LABlab(52.86, 59.01, -60.66)
CIE-LCHlch(52.86, 84.63, 314.21°)
OKLaboklab(61.92% 0.1311 -0.1715)
OKLCHoklch(61.92% 0.216 307.4)
XYZxyz(34.2524, 20.9172, 78.5613)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956E8 #95E856
analogous
#6056E8 #A956E8 #E856DE
triadic
#A956E8 #E8A956 #56E8A9
tetradic
#A956E8 #E86056 #95E856 #56DEE8
square
#A956E8 #E86056 #95E856 #56DEE8
split-complementary
#A956E8 #DEE856 #56E860
monochromatic
#6C17AC #8E20E1 #A956E8 #C48CEF #E0C2F7

Accessibility & contrast

On white

4.05
#A956E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A956E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956E8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956E8#FFFFFF#000000##000000
##A956E81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#9F7497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a956e8;
/* rgb */ color: rgb(169, 86, 232);
/* oklch */ color: oklch(61.9% 0.216 307.4);
Tailwind
colors: {
  custom: {
    50: '#c78af0',
    500: '#a956e8',
    950: '#000000',
  },
}
SCSS
$custom: #a956e8;
$custom-light: #c78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#a956e8",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 274.11,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.21584,
    "h": 307.4
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#A956E8
secondary
#C9E8B2
accent
#D80D65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A956E8

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

Preview Lab → · Contrast checker → · Palette generator →

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