#A956EB#A956EB

#A956EB is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.219 H 306.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A956EB
RGBrgb(169, 86, 235)
HSLhsl(273, 79%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.1%, 63.4%, 0%, 7.8%)
CIE-LABlab(53.05, 59.68, -62.04)
CIE-LCHlch(53.05, 86.09, 313.89°)
OKLaboklab(62.11% 0.1309 -0.1756)
OKLCHoklch(62.11% 0.219 306.7)
XYZxyz(34.6822, 21.0891, 80.8247)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956EB #98EB56
analogous
#5E56EB #A956EB #EB56E2
triadic
#A956EB #EBA956 #56EBA9
tetradic
#A956EB #EB5E56 #98EB56 #56E2EB
square
#A956EB #EB5E56 #98EB56 #56E2EB
split-complementary
#A956EB #E2EB56 #56EB5E
monochromatic
#6C15B2 #8D1FE5 #A956EB #C58DF1 #E1C3F8

Accessibility & contrast

On white

4.02
#A956EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A956EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956EB#FFFFFF#000000##000000
##A956EB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#9E7599
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a956eb;
/* rgb */ color: rgb(169, 86, 235);
/* oklch */ color: oklch(62.1% 0.219 306.7);
Tailwind
colors: {
  custom: {
    50: '#c78af2',
    500: '#a956eb',
    950: '#000000',
  },
}
SCSS
$custom: #a956eb;
$custom-light: #c78af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a956eb",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 273.423,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.21898,
    "h": 306.7
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#A956EB
secondary
#CBE9B4
accent
#DB0A67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A956EB

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

Preview Lab → · Contrast checker → · Palette generator →

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