#A951E3#A951E3

#A951E3 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.217 H 309.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A951E3
RGBrgb(169, 81, 227)
HSLhsl(276, 72%, 60%)
HSVhsv(276, 64%, 89%)
CMYKcmyk(25.6%, 64.3%, 0%, 11%)
CIE-LABlab(51.69, 60.26, -59.73)
CIE-LCHlch(51.69, 84.85, 315.25°)
OKLaboklab(60.97% 0.137 -0.1687)
OKLCHoklch(60.97% 0.217 309.1)
XYZxyz(33.1670, 19.8665, 74.7455)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951E3 #8BE351
analogous
#6051E3 #A951E3 #E351D4
triadic
#A951E3 #E3A951 #51E3A9
tetradic
#A951E3 #E36051 #8BE351 #51D4E3
square
#A951E3 #E36051 #8BE351 #51D4E3
split-complementary
#A951E3 #D4E351 #51E360
monochromatic
#6B1AA0 #8E22D5 #A951E3 #C386EB #DDBAF4

Accessibility & contrast

On white

4.22
#A951E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A951E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951E3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951E3#FFFFFF#000000##000000
##A951E31.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#A16F93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a951e3;
/* rgb */ color: rgb(169, 81, 227);
/* oklch */ color: oklch(61.0% 0.217 309.1);
Tailwind
colors: {
  custom: {
    50: '#c787ed',
    500: '#a951e3',
    950: '#000000',
  },
}
SCSS
$custom: #a951e3;
$custom-light: #c787ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a951e3",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 276.164,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.21736,
    "h": 309.1
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#A951E3
secondary
#C2E4AC
accent
#D4115F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951E3

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

Preview Lab → · Contrast checker → · Palette generator →

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