#A72FDF#A72FDF

#A72FDF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.1% C 0.251 H 311.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A72FDF
RGBrgb(167, 47, 223)
HSLhsl(281, 73%, 53%)
HSVhsv(281, 79%, 87%)
CMYKcmyk(25.1%, 78.9%, 0%, 12.5%)
CIE-LABlab(46.41, 72.42, -65.99)
CIE-LCHlch(46.41, 97.98, 317.66°)
OKLaboklab(57.08% 0.1672 -0.187)
OKLCHoklch(57.08% 0.251 311.8)
XYZxyz(30.2696, 15.5771, 71.2099)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FDF #67DF2F
analogous
#4F2FDF #A72FDF #DF2FBF
triadic
#A72FDF #DFA72F #2FDFA7
tetradic
#A72FDF #DF4F2F #67DF2F #2FBFDF
square
#A72FDF #DF4F2F #67DF2F #2FBFDF
split-complementary
#A72FDF #BFDF2F #2FDF4F
monochromatic
#5D1480 #841CB5 #A72FDF #BD64E7 #D499EF

Accessibility & contrast

On white

5.10
#A72FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A72FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FDF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FDF#FFFFFF#000000##FFFFFF
##A72FDF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#A05B88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a72fdf;
/* rgb */ color: rgb(167, 47, 223);
/* oklch */ color: oklch(57.1% 0.251 311.8);
Tailwind
colors: {
  custom: {
    50: '#c776ea',
    500: '#a72fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a72fdf;
$custom-light: #c776ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fdf",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 280.909,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.25084,
    "h": 311.8
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#A72FDF
secondary
#A7DB8F
accent
#F03872
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A72FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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