#A951E5#A951E5

#A951E5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.219 H 308.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A951E5
RGBrgb(169, 81, 229)
HSLhsl(276, 74%, 61%)
HSVhsv(276, 65%, 90%)
CMYKcmyk(26.2%, 64.6%, 0%, 10.2%)
CIE-LABlab(51.81, 60.70, -60.66)
CIE-LCHlch(51.81, 85.81, 315.02°)
OKLaboklab(61.1% 0.1369 -0.1715)
OKLCHoklch(61.1% 0.219 308.6)
XYZxyz(33.4446, 19.9776, 76.2077)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951E5 #8DE551
analogous
#5F51E5 #A951E5 #E551D7
triadic
#A951E5 #E5A951 #51E5A9
tetradic
#A951E5 #E55F51 #8DE551 #51D7E5
square
#A951E5 #E55F51 #8DE551 #51D7E5
split-complementary
#A951E5 #D7E551 #51E55F
monochromatic
#6B18A3 #8E20D8 #A951E5 #C386ED #DEBBF5

Accessibility & contrast

On white

4.20
#A951E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A951E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951E5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951E5#FFFFFF#000000##000000
##A951E51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#A07094
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a951e5;
/* rgb */ color: rgb(169, 81, 229);
/* oklch */ color: oklch(61.1% 0.219 308.6);
Tailwind
colors: {
  custom: {
    50: '#c787ee',
    500: '#a951e5',
    950: '#000000',
  },
}
SCSS
$custom: #a951e5;
$custom-light: #c787ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a951e5",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 275.676,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.2194,
    "h": 308.6
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#A951E5
secondary
#C4E5AD
accent
#D60F60
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A951E5

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

Preview Lab → · Contrast checker → · Palette generator →

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