#A972F6#A972F6

#A972F6 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.192 H 300.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A972F6
RGBrgb(169, 114, 246)
HSLhsl(265, 88%, 71%)
HSVhsv(265, 54%, 96%)
CMYKcmyk(31.3%, 53.7%, 0%, 3.5%)
CIE-LABlab(59.09, 47.92, -58.48)
CIE-LCHlch(59.09, 75.61, 309.33°)
OKLaboklab(66.74% 0.0974 -0.1652)
OKLCHoklch(66.74% 0.192 300.5)
XYZxyz(39.0101, 27.1232, 90.3510)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A972F6 #BFF672
analogous
#727DF6 #A972F6 #EB72F6
triadic
#A972F6 #F6A972 #72F6A9
tetradic
#A972F6 #F6727D #BFF672 #72F6EB
square
#A972F6 #F6727D #BFF672 #72F6EB
split-complementary
#A972F6 #F6EB72 #7DF672
monochromatic
#650EDF #8638F2 #A972F6 #CCACFA #EDE2FD

Accessibility & contrast

On white

3.27
#A972F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A972F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A972F6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A972F6#FFFFFF#000000##000000
##A972F61.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFA
Deuteranopia (green-blind)
#508DF3
Tritanopia (blue-blind)
#998CA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a972f6;
/* rgb */ color: rgb(169, 114, 246);
/* oklch */ color: oklch(66.7% 0.192 300.5);
Tailwind
colors: {
  custom: {
    50: '#c69cfa',
    500: '#a972f6',
    950: '#000000',
  },
}
SCSS
$custom: #a972f6;
$custom-light: #c69cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a972f6",
  "rgb": {
    "r": 169,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 265,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66737,
    "c": 0.19176,
    "h": 300.5
  },
  "luminance": 0.27123
}

Semantic roles & 50–950 ramp

primary
#A972F6
secondary
#E5F4D0
accent
#E50186
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A972F6

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

Preview Lab → · Contrast checker → · Palette generator →

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