#A956E4#A956E4

#A956E4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.212 H 308.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A956E4
RGBrgb(169, 86, 228)
HSLhsl(275, 72%, 62%)
HSVhsv(275, 62%, 89%)
CMYKcmyk(25.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(52.61, 58.12, -58.81)
CIE-LCHlch(52.61, 82.68, 314.66°)
OKLaboklab(61.66% 0.1313 -0.1661)
OKLCHoklch(61.66% 0.212 308.3)
XYZxyz(33.6907, 20.6925, 75.6030)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956E4 #91E456
analogous
#6256E4 #A956E4 #E456D8
triadic
#A956E4 #E4A956 #56E4A9
tetradic
#A956E4 #E46256 #91E456 #56D8E4
square
#A956E4 #E46256 #91E456 #56D8E4
split-complementary
#A956E4 #D8E456 #56E462
monochromatic
#6C1AA5 #8E23DA #A956E4 #C48BEC #DFC0F5

Accessibility & contrast

On white

4.09
#A956E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A956E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956E4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956E4#FFFFFF#000000##000000
##A956E41.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#A07395
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a956e4;
/* rgb */ color: rgb(169, 86, 228);
/* oklch */ color: oklch(61.7% 0.212 308.3);
Tailwind
colors: {
  custom: {
    50: '#c68aed',
    500: '#a956e4',
    950: '#000000',
  },
}
SCSS
$custom: #a956e4;
$custom-light: #c68aed;
$custom-dark: #000000;
JSON
{
  "hex": "#a956e4",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 275.07,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.21167,
    "h": 308.3
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#A956E4
secondary
#C6E5B0
accent
#D51162
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A956E4

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

Preview Lab → · Contrast checker → · Palette generator →

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