#A956E6#A956E6

#A956E6 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.214 H 307.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A956E6
RGBrgb(169, 86, 230)
HSLhsl(275, 74%, 62%)
HSVhsv(275, 63%, 90%)
CMYKcmyk(26.5%, 62.6%, 0%, 9.8%)
CIE-LABlab(52.73, 58.56, -59.73)
CIE-LCHlch(52.73, 83.65, 314.43°)
OKLaboklab(61.79% 0.1312 -0.1688)
OKLCHoklch(61.79% 0.214 307.8)
XYZxyz(33.9700, 20.8042, 77.0736)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956E6 #93E656
analogous
#6156E6 #A956E6 #E656DB
triadic
#A956E6 #E6A956 #56E6A9
tetradic
#A956E6 #E66156 #93E656 #56DBE6
square
#A956E6 #E66156 #93E656 #56DBE6
split-complementary
#A956E6 #DBE656 #56E661
monochromatic
#6C19A9 #8E21DE #A956E6 #C48BEE #DFC1F6

Accessibility & contrast

On white

4.07
#A956E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A956E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956E6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956E6#FFFFFF#000000##000000
##A956E61.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#A07396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a956e6;
/* rgb */ color: rgb(169, 86, 230);
/* oklch */ color: oklch(61.8% 0.214 307.8);
Tailwind
colors: {
  custom: {
    50: '#c78aef',
    500: '#a956e6',
    950: '#000000',
  },
}
SCSS
$custom: #a956e6;
$custom-light: #c78aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a956e6",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 274.583,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.21376,
    "h": 307.8
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#A956E6
secondary
#C8E6B1
accent
#D60F64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A956E6

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

Preview Lab → · Contrast checker → · Palette generator →

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