#A956E7#A956E7

#A956E7 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.215 H 307.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A956E7
RGBrgb(169, 86, 231)
HSLhsl(274, 75%, 62%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(26.8%, 62.8%, 0%, 9.4%)
CIE-LABlab(52.80, 58.78, -60.20)
CIE-LCHlch(52.80, 84.14, 314.32°)
OKLaboklab(61.85% 0.1311 -0.1701)
OKLCHoklch(61.85% 0.215 307.6)
XYZxyz(34.1108, 20.8606, 77.8153)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A956E7 #94E756
analogous
#6156E7 #A956E7 #E756DD
triadic
#A956E7 #E7A956 #56E7A9
tetradic
#A956E7 #E76156 #94E756 #56DDE7
square
#A956E7 #E76156 #94E756 #56DDE7
split-complementary
#A956E7 #DDE756 #56E761
monochromatic
#6C18AA #8E20DF #A956E7 #C48CEF #E0C1F6

Accessibility & contrast

On white

4.06
#A956E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A956E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A956E7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A956E7#FFFFFF#000000##000000
##A956E71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#3B7FE4
Tritanopia (blue-blind)
#9F7497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a956e7;
/* rgb */ color: rgb(169, 86, 231);
/* oklch */ color: oklch(61.9% 0.215 307.6);
Tailwind
colors: {
  custom: {
    50: '#c78aef',
    500: '#a956e7',
    950: '#000000',
  },
}
SCSS
$custom: #a956e7;
$custom-light: #c78aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a956e7",
  "rgb": {
    "r": 169,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 274.345,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.2148,
    "h": 307.6
  },
  "luminance": 0.2086
}

Semantic roles & 50–950 ramp

primary
#A956E7
secondary
#C9E7B2
accent
#D70E64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A956E7

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

Preview Lab → · Contrast checker → · Palette generator →

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