#A951E1#A951E1

#A951E1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.215 H 309.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A951E1
RGBrgb(169, 81, 225)
HSLhsl(277, 71%, 60%)
HSVhsv(277, 64%, 88%)
CMYKcmyk(24.9%, 64%, 0%, 11.8%)
CIE-LABlab(51.56, 59.83, -58.80)
CIE-LCHlch(51.56, 83.89, 315.50°)
OKLaboklab(60.84% 0.1371 -0.166)
OKLCHoklch(60.84% 0.215 309.6)
XYZxyz(32.8926, 19.7567, 73.3002)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951E1 #89E151
analogous
#6151E1 #A951E1 #E151D1
triadic
#A951E1 #E1A951 #51E1A9
tetradic
#A951E1 #E16151 #89E151 #51D1E1
square
#A951E1 #E16151 #89E151 #51D1E1
split-complementary
#A951E1 #D1E151 #51E161
monochromatic
#6A1B9D #8E24D1 #A951E1 #C385EA #DDB9F3

Accessibility & contrast

On white

4.24
#A951E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A951E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951E1#FFFFFF#000000##000000
##A951E11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#A16E92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a951e1;
/* rgb */ color: rgb(169, 81, 225);
/* oklch */ color: oklch(60.8% 0.215 309.6);
Tailwind
colors: {
  custom: {
    50: '#c787eb',
    500: '#a951e1',
    950: '#000000',
  },
}
SCSS
$custom: #a951e1;
$custom-light: #c787eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a951e1",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 276.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.21532,
    "h": 309.6
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#A951E1
secondary
#C1E3AB
accent
#ED3A80
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951E1

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

Preview Lab → · Contrast checker → · Palette generator →

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