#A072F4#A072F4

#A072F4 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.188 H 297.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A072F4
RGBrgb(160, 114, 244)
HSLhsl(261, 86%, 70%)
HSVhsv(261, 53%, 96%)
CMYKcmyk(34.4%, 53.3%, 0%, 4.3%)
CIE-LABlab(58.07, 45.27, -59.04)
CIE-LCHlch(58.07, 74.40, 307.48°)
OKLaboklab(65.74% 0.0862 -0.1671)
OKLCHoklch(65.74% 0.188 297.3)
XYZxyz(36.8396, 26.0394, 88.6556)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072F4 #C6F472
analogous
#7285F4 #A072F4 #E172F4
triadic
#A072F4 #F4A072 #72F4A0
tetradic
#A072F4 #F47285 #C6F472 #72F4E1
square
#A072F4 #F47285 #C6F472 #72F4E1
split-complementary
#A072F4 #F4E172 #85F472
monochromatic
#5811DB #7A39F0 #A072F4 #C6ABF8 #ECE3FD

Accessibility & contrast

On white

3.38
#A072F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A072F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072F4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072F4#FFFFFF#000000##000000
##A072F41.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF8
Deuteranopia (green-blind)
#4A8AF1
Tritanopia (blue-blind)
#8D8CA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a072f4;
/* rgb */ color: rgb(160, 114, 244);
/* oklch */ color: oklch(65.7% 0.188 297.3);
Tailwind
colors: {
  custom: {
    50: '#c09cf8',
    500: '#a072f4',
    950: '#000000',
  },
}
SCSS
$custom: #a072f4;
$custom-light: #c09cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a072f4",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 261.231,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65743,
    "c": 0.18801,
    "h": 297.3
  },
  "luminance": 0.2604
}

Semantic roles & 50–950 ramp

primary
#A072F4
secondary
#E6F3CF
accent
#E20393
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A072F4

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

Preview Lab → · Contrast checker → · Palette generator →

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