#A951E6#A951E6

#A951E6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.220 H 308.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A951E6
RGBrgb(169, 81, 230)
HSLhsl(275, 75%, 61%)
HSVhsv(275, 65%, 90%)
CMYKcmyk(26.5%, 64.8%, 0%, 9.8%)
CIE-LABlab(51.88, 60.92, -61.12)
CIE-LCHlch(51.88, 86.29, 314.91°)
OKLaboklab(61.17% 0.1368 -0.1728)
OKLCHoklch(61.17% 0.22 308.4)
XYZxyz(33.5846, 20.0336, 76.9452)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951E6 #8EE651
analogous
#5E51E6 #A951E6 #E651D8
triadic
#A951E6 #E6A951 #51E6A9
tetradic
#A951E6 #E65E51 #8EE651 #51D8E6
square
#A951E6 #E65E51 #8EE651 #51D8E6
split-complementary
#A951E6 #D8E651 #51E65E
monochromatic
#6B18A5 #8E1FDA #A951E6 #C387EE #DEBCF5

Accessibility & contrast

On white

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

On black

5.01
#A951E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951E6#FFFFFF#000000##000000
##A951E61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#A07095
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a951e6;
/* rgb */ color: rgb(169, 81, 230);
/* oklch */ color: oklch(61.2% 0.220 308.4);
Tailwind
colors: {
  custom: {
    50: '#c787ef',
    500: '#a951e6',
    950: '#000000',
  },
}
SCSS
$custom: #a951e6;
$custom-light: #c787ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a951e6",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 275.436,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.22041,
    "h": 308.4
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A951E6

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

Preview Lab → · Contrast checker → · Palette generator →

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