#A072E1#A072E1

#A072E1 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.6% C 0.165 H 301.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A072E1
RGBrgb(160, 114, 225)
HSLhsl(265, 65%, 66%)
HSVhsv(265, 49%, 88%)
CMYKcmyk(28.9%, 49.3%, 0%, 11.8%)
CIE-LABlab(57.02, 40.54, -50.13)
CIE-LCHlch(57.02, 64.47, 308.96°)
OKLaboklab(64.62% 0.0849 -0.141)
OKLCHoklch(64.62% 0.165 301.1)
XYZxyz(34.1020, 24.9443, 74.2377)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072E1 #B3E172
analogous
#727CE1 #A072E1 #D872E1
triadic
#A072E1 #E1A072 #72E1A0
tetradic
#A072E1 #E1727C #B3E172 #72E1D8
square
#A072E1 #E1727C #B3E172 #72E1D8
split-complementary
#A072E1 #E1D872 #7CE172
monochromatic
#6026B3 #7E40D6 #A072E1 #C2A4EC #E4D7F6

Accessibility & contrast

On white

3.51
#A072E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A072E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072E1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072E1#FFFFFF#000000##000000
##A072E11.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E5
Deuteranopia (green-blind)
#5A88DE
Tritanopia (blue-blind)
#93869F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a072e1;
/* rgb */ color: rgb(160, 114, 225);
/* oklch */ color: oklch(64.6% 0.165 301.1);
Tailwind
colors: {
  custom: {
    50: '#bf9beb',
    500: '#a072e1',
    950: '#000000',
  },
}
SCSS
$custom: #a072e1;
$custom-light: #bf9beb;
$custom-dark: #000000;
JSON
{
  "hex": "#a072e1",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 264.865,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.16457,
    "h": 301.1
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#A072E1
secondary
#DAE9C5
accent
#CD1982
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A072E1

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

Preview Lab → · Contrast checker → · Palette generator →

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