#A951E7#A951E7

#A951E7 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.221 H 308.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A951E7
RGBrgb(169, 81, 231)
HSLhsl(275, 76%, 61%)
HSVhsv(275, 65%, 91%)
CMYKcmyk(26.8%, 64.9%, 0%, 9.4%)
CIE-LABlab(51.94, 61.14, -61.58)
CIE-LCHlch(51.94, 86.78, 314.79°)
OKLaboklab(61.23% 0.1367 -0.1742)
OKLCHoklch(61.23% 0.221 308.1)
XYZxyz(33.7255, 20.0899, 77.6869)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951E7 #8FE751
analogous
#5E51E7 #A951E7 #E751DA
triadic
#A951E7 #E7A951 #51E7A9
tetradic
#A951E7 #E75E51 #8FE751 #51DAE7
square
#A951E7 #E75E51 #8FE751 #51DAE7
split-complementary
#A951E7 #DAE751 #51E75E
monochromatic
#6B17A7 #8E1EDC #A951E7 #C487EE #DEBDF6

Accessibility & contrast

On white

4.19
#A951E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A951E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951E7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951E7#FFFFFF#000000##000000
##A951E71.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#9F7095
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a951e7;
/* rgb */ color: rgb(169, 81, 231);
/* oklch */ color: oklch(61.2% 0.221 308.1);
Tailwind
colors: {
  custom: {
    50: '#c787ef',
    500: '#a951e7',
    950: '#000000',
  },
}
SCSS
$custom: #a951e7;
$custom-light: #c787ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a951e7",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 275.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.22143,
    "h": 308.1
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#A951E7
secondary
#C5E6AE
accent
#D80E61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A951E7

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

Preview Lab → · Contrast checker → · Palette generator →

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