#A956F5#A956F5

#A956F5 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.229 H 304.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A956F5
RGBrgb(169, 86, 245)
HSLhsl(271, 89%, 65%)
HSVhsv(271, 65%, 96%)
CMYKcmyk(31%, 64.9%, 0%, 3.9%)
CIE-LABlab(53.69, 61.94, -66.60)
CIE-LCHlch(53.69, 90.95, 312.92°)
OKLaboklab(62.78% 0.1301 -0.1889)
OKLCHoklch(62.78% 0.229 304.6)
XYZxyz(36.1677, 21.6833, 88.6484)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956F5 #A2F556
analogous
#5A56F5 #A956F5 #F556F1
triadic
#A956F5 #F5A956 #56F5A9
tetradic
#A956F5 #F55A56 #A2F556 #56F1F5
square
#A956F5 #F55A56 #A2F556 #56F1F5
split-complementary
#A956F5 #F1F556 #56F55A
monochromatic
#6C0CC5 #8C1CF2 #A956F5 #C690F8 #E4CAFC

Accessibility & contrast

On white

3.94
#A956F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A956F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956F5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956F5#FFFFFF#000000##000000
##A956F51.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#2480F2
Tritanopia (blue-blind)
#9B799E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a956f5;
/* rgb */ color: rgb(169, 86, 245);
/* oklch */ color: oklch(62.8% 0.229 304.6);
Tailwind
colors: {
  custom: {
    50: '#c88bf9',
    500: '#a956f5',
    950: '#000000',
  },
}
SCSS
$custom: #a956f5;
$custom-light: #c88bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a956f5",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 271.321,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62781,
    "c": 0.22942,
    "h": 304.6
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#A956F5
secondary
#D2EFB8
accent
#E5006E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A956F5

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

Preview Lab → · Contrast checker → · Palette generator →

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