#A956F2#A956F2

#A956F2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.226 H 305.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A956F2
RGBrgb(169, 86, 242)
HSLhsl(272, 86%, 64%)
HSVhsv(272, 64%, 95%)
CMYKcmyk(30.2%, 64.5%, 0%, 5.1%)
CIE-LABlab(53.49, 61.26, -65.24)
CIE-LCHlch(53.49, 89.49, 313.20°)
OKLaboklab(62.58% 0.1304 -0.1849)
OKLCHoklch(62.58% 0.226 305.2)
XYZxyz(35.7135, 21.5016, 86.2560)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956F2 #9FF256
analogous
#5B56F2 #A956F2 #F256ED
triadic
#A956F2 #F2A956 #56F2A9
tetradic
#A956F2 #F25B56 #9FF256 #56EDF2
square
#A956F2 #F25B56 #9FF256 #56EDF2
split-complementary
#A956F2 #EDF256 #56F25B
monochromatic
#6C0FBF #8C1DEE #A956F2 #C68FF6 #E3C8FB

Accessibility & contrast

On white

3.96
#A956F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A956F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956F2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956F2#FFFFFF#000000##000000
##A956F21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#2A80EF
Tritanopia (blue-blind)
#9C789D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a956f2;
/* rgb */ color: rgb(169, 86, 242);
/* oklch */ color: oklch(62.6% 0.226 305.2);
Tailwind
colors: {
  custom: {
    50: '#c78af7',
    500: '#a956f2',
    950: '#000000',
  },
}
SCSS
$custom: #a956f2;
$custom-light: #c78af7;
$custom-dark: #000000;
JSON
{
  "hex": "#a956f2",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 271.923,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62579,
    "c": 0.22628,
    "h": 305.2
  },
  "luminance": 0.21501
}

Semantic roles & 50–950 ramp

primary
#A956F2
secondary
#D0EDB7
accent
#E2036C
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A956F2

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

Preview Lab → · Contrast checker → · Palette generator →

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