#A072FC#A072FC

#A072FC is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.198 H 295.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A072FC
RGBrgb(160, 114, 252)
HSLhsl(260, 96%, 72%)
HSVhsv(260, 55%, 99%)
CMYKcmyk(36.5%, 54.8%, 0%, 1.2%)
CIE-LABlab(58.54, 47.30, -62.72)
CIE-LCHlch(58.54, 78.56, 307.02°)
OKLaboklab(66.24% 0.0865 -0.1779)
OKLCHoklch(66.24% 0.198 295.9)
XYZxyz(38.0807, 26.5358, 95.1922)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072FC #CEFC72
analogous
#7289FC #A072FC #E572FC
triadic
#A072FC #FCA072 #72FCA0
tetradic
#A072FC #FC7289 #CEFC72 #72FCE5
square
#A072FC #FC7289 #CEFC72 #72FCE5
split-complementary
#A072FC #FCE572 #89FC72
monochromatic
#5305EF #7836FB #A072FC #C8AEFD #EBE1FE

Accessibility & contrast

On white

3.33
#A072FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A072FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072FC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072FC#FFFFFF#000000##000000
##A072FC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#8A8FAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a072fc;
/* rgb */ color: rgb(160, 114, 252);
/* oklch */ color: oklch(66.2% 0.198 295.9);
Tailwind
colors: {
  custom: {
    50: '#c19cfe',
    500: '#a072fc',
    950: '#000000',
  },
}
SCSS
$custom: #a072fc;
$custom-light: #c19cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a072fc",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 260,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66239,
    "c": 0.19777,
    "h": 295.9
  },
  "luminance": 0.26536
}

Semantic roles & 50–950 ramp

primary
#A072FC
secondary
#EBF6D3
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A072FC

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

Preview Lab → · Contrast checker → · Palette generator →

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