#A951EA#A951EA

#A951EA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.4% C 0.224 H 307.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A951EA
RGBrgb(169, 81, 234)
HSLhsl(275, 78%, 62%)
HSVhsv(275, 65%, 92%)
CMYKcmyk(27.8%, 65.4%, 0%, 8.2%)
CIE-LABlab(52.13, 61.80, -62.96)
CIE-LCHlch(52.13, 88.22, 314.47°)
OKLaboklab(61.43% 0.1365 -0.1782)
OKLCHoklch(61.43% 0.224 307.4)
XYZxyz(34.1528, 20.2608, 79.9375)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951EA #92EA51
analogous
#5D51EA #A951EA #EA51DF
triadic
#A951EA #EAA951 #51EAA9
tetradic
#A951EA #EA5D51 #92EA51 #51DFEA
square
#A951EA #EA5D51 #92EA51 #51DFEA
split-complementary
#A951EA #DFEA51 #51EA5D
monochromatic
#6C15AC #8E1BE2 #A951EA #C488F1 #DFBEF7

Accessibility & contrast

On white

4.16
#A951EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A951EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951EA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951EA#FFFFFF#000000##000000
##A951EA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#9F7297
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a951ea;
/* rgb */ color: rgb(169, 81, 234);
/* oklch */ color: oklch(61.4% 0.224 307.4);
Tailwind
colors: {
  custom: {
    50: '#c787f2',
    500: '#a951ea',
    950: '#000000',
  },
}
SCSS
$custom: #a951ea;
$custom-light: #c787f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a951ea",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 274.51,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.22448,
    "h": 307.4
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#A951EA
secondary
#C7E8AF
accent
#DB0B63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A951EA

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

Preview Lab → · Contrast checker → · Palette generator →

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