#A951F6#A951F6

#A951F6 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.3% C 0.237 H 304.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A951F6
RGBrgb(169, 81, 246)
HSLhsl(272, 90%, 64%)
HSVhsv(272, 67%, 96%)
CMYKcmyk(31.3%, 67.1%, 0%, 3.5%)
CIE-LABlab(52.92, 64.47, -68.40)
CIE-LCHlch(52.92, 94.00, 313.31°)
OKLaboklab(62.25% 0.1353 -0.1942)
OKLCHoklch(62.25% 0.237 304.9)
XYZxyz(35.9354, 20.9739, 89.3261)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A951F6 #9EF651
analogous
#5751F6 #A951F6 #F651F1
triadic
#A951F6 #F6A951 #51F6A9
tetradic
#A951F6 #F65751 #9EF651 #51F1F6
square
#A951F6 #F65751 #9EF651 #51F1F6
split-complementary
#A951F6 #F1F651 #51F657
monochromatic
#6C0AC3 #8C17F3 #A951F6 #C68BF9 #E3C5FC

Accessibility & contrast

On white

4.04
#A951F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A951F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A951F6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A951F6#FFFFFF#000000##000000
##A951F61.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#137EF2
Tritanopia (blue-blind)
#9B769D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a951f6;
/* rgb */ color: rgb(169, 81, 246);
/* oklch */ color: oklch(62.3% 0.237 304.9);
Tailwind
colors: {
  custom: {
    50: '#c888fa',
    500: '#a951f6',
    950: '#000000',
  },
}
SCSS
$custom: #a951f6;
$custom-light: #c888fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a951f6",
  "rgb": {
    "r": 169,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 272,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62251,
    "c": 0.23668,
    "h": 304.9
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#A951F6
secondary
#CFEEB5
accent
#E6006B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A951F6

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

Preview Lab → · Contrast checker → · Palette generator →

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