#A72FE2#A72FE2

#A72FE2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.3% C 0.253 H 311.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A72FE2
RGBrgb(167, 47, 226)
HSLhsl(280, 76%, 54%)
HSVhsv(280, 79%, 89%)
CMYKcmyk(26.1%, 79.2%, 0%, 11.4%)
CIE-LABlab(46.63, 73.01, -67.35)
CIE-LCHlch(46.63, 99.33, 317.31°)
OKLaboklab(57.3% 0.1666 -0.191)
OKLCHoklch(57.3% 0.253 311.1)
XYZxyz(30.6777, 15.7403, 73.3589)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FE2 #6AE22F
analogous
#4D2FE2 #A72FE2 #E22FC4
triadic
#A72FE2 #E2A72F #2FE2A7
tetradic
#A72FE2 #E24D2F #6AE22F #2FC4E2
square
#A72FE2 #E24D2F #6AE22F #2FC4E2
split-complementary
#A72FE2 #C4E22F #2FE24D
monochromatic
#5F1284 #851ABA #A72FE2 #BE65E9 #D49AF1

Accessibility & contrast

On white

5.06
#A72FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A72FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FE2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FE2#FFFFFF#000000##FFFFFF
##A72FE21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#9F5D8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a72fe2;
/* rgb */ color: rgb(167, 47, 226);
/* oklch */ color: oklch(57.3% 0.253 311.1);
Tailwind
colors: {
  custom: {
    50: '#c776ec',
    500: '#a72fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a72fe2;
$custom-light: #c776ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fe2",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 280.223,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.2534,
    "h": 311.1
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#A72FE2
secondary
#A9DD90
accent
#F23674
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A72FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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