#A072FB#A072FB

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

Color values

HEX#A072FB
RGBrgb(160, 114, 251)
HSLhsl(260, 94%, 72%)
HSVhsv(260, 55%, 98%)
CMYKcmyk(36.3%, 54.6%, 0%, 1.6%)
CIE-LABlab(58.48, 47.05, -62.26)
CIE-LCHlch(58.48, 78.04, 307.08°)
OKLaboklab(66.18% 0.0864 -0.1765)
OKLCHoklch(66.18% 0.197 296.1)
XYZxyz(37.9227, 26.4726, 94.3598)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072FB #CDFB72
analogous
#7289FB #A072FB #E572FB
triadic
#A072FB #FBA072 #72FBA0
tetradic
#A072FB #FB7289 #CDFB72 #72FBE5
square
#A072FB #FB7289 #CDFB72 #72FBE5
split-complementary
#A072FB #FBE572 #89FB72
monochromatic
#5407EC #7836F9 #A072FB #C8AEFD #EBE1FE

Accessibility & contrast

On white

3.34
#A072FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A072FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072FB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072FB#FFFFFF#000000##000000
##A072FB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#8A8EAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a072fb;
/* rgb */ color: rgb(160, 114, 251);
/* oklch */ color: oklch(66.2% 0.197 296.1);
Tailwind
colors: {
  custom: {
    50: '#c19cfd',
    500: '#a072fb',
    950: '#000000',
  },
}
SCSS
$custom: #a072fb;
$custom-light: #c19cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a072fb",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 260.146,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.19656,
    "h": 296.1
  },
  "luminance": 0.26473
}

Semantic roles & 50–950 ramp

primary
#A072FB
secondary
#EAF6D3
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A072FB

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

Preview Lab → · Contrast checker → · Palette generator →

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