#A951E8#A951E8

#A951E8 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.222 H 307.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A951E8
RGBrgb(169, 81, 232)
HSLhsl(275, 77%, 61%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(27.2%, 65.1%, 0%, 9%)
CIE-LABlab(52.00, 61.36, -62.04)
CIE-LCHlch(52.00, 87.26, 314.68°)
OKLaboklab(61.3% 0.1366 -0.1755)
OKLCHoklch(61.3% 0.222 307.9)
XYZxyz(33.8671, 20.1466, 78.4328)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951E8 #90E851
analogous
#5E51E8 #A951E8 #E851DC
triadic
#A951E8 #E8A951 #51E8A9
tetradic
#A951E8 #E85E51 #90E851 #51DCE8
square
#A951E8 #E85E51 #90E851 #51DCE8
split-complementary
#A951E8 #DCE851 #51E85E
monochromatic
#6B16A8 #8E1DDE #A951E8 #C487EF #DEBDF6

Accessibility & contrast

On white

4.18
#A951E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A951E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951E8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951E8#FFFFFF#000000##000000
##A951E81.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#337DE5
Tritanopia (blue-blind)
#9F7196
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a951e8;
/* rgb */ color: rgb(169, 81, 232);
/* oklch */ color: oklch(61.3% 0.222 307.9);
Tailwind
colors: {
  custom: {
    50: '#c787f0',
    500: '#a951e8',
    950: '#000000',
  },
}
SCSS
$custom: #a951e8;
$custom-light: #c787f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a951e8",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 274.967,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.22244,
    "h": 307.9
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#A951E8
secondary
#C6E7AE
accent
#D90D62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A951E8

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

Preview Lab → · Contrast checker → · Palette generator →

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