#A072E5#A072E5

#A072E5 is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.8% C 0.170 H 300.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A072E5
RGBrgb(160, 114, 229)
HSLhsl(264, 69%, 67%)
HSVhsv(264, 50%, 90%)
CMYKcmyk(30.1%, 50.2%, 0%, 10.2%)
CIE-LABlab(57.24, 41.53, -52.03)
CIE-LCHlch(57.24, 66.57, 308.59°)
OKLaboklab(64.85% 0.0853 -0.1465)
OKLCHoklch(64.85% 0.17 300.2)
XYZxyz(34.6541, 25.1652, 77.1452)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072E5 #B7E572
analogous
#727EE5 #A072E5 #D972E5
triadic
#A072E5 #E5A072 #72E5A0
tetradic
#A072E5 #E5727E #B7E572 #72E5D9
square
#A072E5 #E5727E #B7E572 #72E5D9
split-complementary
#A072E5 #E5D972 #7EE572
monochromatic
#5F22BA #7D3EDB #A072E5 #C3A6EF #E6D9F8

Accessibility & contrast

On white

3.48
#A072E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A072E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072E5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072E5#FFFFFF#000000##000000
##A072E51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E9
Deuteranopia (green-blind)
#5789E2
Tritanopia (blue-blind)
#9288A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a072e5;
/* rgb */ color: rgb(160, 114, 229);
/* oklch */ color: oklch(64.8% 0.170 300.2);
Tailwind
colors: {
  custom: {
    50: '#bf9bee',
    500: '#a072e5',
    950: '#000000',
  },
}
SCSS
$custom: #a072e5;
$custom-light: #bf9bee;
$custom-dark: #000000;
JSON
{
  "hex": "#a072e5",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 264,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6485,
    "c": 0.16953,
    "h": 300.2
  },
  "luminance": 0.25165
}

Semantic roles & 50–950 ramp

primary
#A072E5
secondary
#DDECC7
accent
#D11586
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A072E5

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

Preview Lab → · Contrast checker → · Palette generator →

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