#A951E9#A951E9

#A951E9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.223 H 307.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A951E9
RGBrgb(169, 81, 233)
HSLhsl(275, 78%, 62%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(27.5%, 65.2%, 0%, 8.6%)
CIE-LABlab(52.07, 61.58, -62.50)
CIE-LCHlch(52.07, 87.74, 314.58°)
OKLaboklab(61.37% 0.1366 -0.1769)
OKLCHoklch(61.37% 0.223 307.7)
XYZxyz(34.0095, 20.2035, 79.1830)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951E9 #91E951
analogous
#5D51E9 #A951E9 #E951DD
triadic
#A951E9 #E9A951 #51E9A9
tetradic
#A951E9 #E95D51 #91E951 #51DDE9
square
#A951E9 #E95D51 #91E951 #51DDE9
split-complementary
#A951E9 #DDE951 #51E95D
monochromatic
#6C16AA #8E1CE0 #A951E9 #C487F0 #DFBEF7

Accessibility & contrast

On white

4.17
#A951E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A951E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951E9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951E9#FFFFFF#000000##000000
##A951E91.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#9F7196
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a951e9;
/* rgb */ color: rgb(169, 81, 233);
/* oklch */ color: oklch(61.4% 0.223 307.7);
Tailwind
colors: {
  custom: {
    50: '#c787f1',
    500: '#a951e9',
    950: '#000000',
  },
}
SCSS
$custom: #a951e9;
$custom-light: #c787f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a951e9",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 274.737,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61367,
    "c": 0.22346,
    "h": 307.7
  },
  "luminance": 0.20203
}

Semantic roles & 50–950 ramp

primary
#A951E9
secondary
#C6E7AF
accent
#DA0C62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A951E9

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

Preview Lab → · Contrast checker → · Palette generator →

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