#A072EF#A072EF

#A072EF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.4% C 0.182 H 298.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A072EF
RGBrgb(160, 114, 239)
HSLhsl(262, 80%, 69%)
HSVhsv(262, 52%, 94%)
CMYKcmyk(33.1%, 52.3%, 0%, 6.3%)
CIE-LABlab(57.79, 44.01, -56.72)
CIE-LCHlch(57.79, 71.79, 307.81°)
OKLaboklab(65.44% 0.086 -0.1603)
OKLCHoklch(65.44% 0.182 298.2)
XYZxyz(36.0907, 25.7398, 84.7115)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072EF #C1EF72
analogous
#7283EF #A072EF #DF72EF
triadic
#A072EF #EFA072 #72EFA0
tetradic
#A072EF #EF7283 #C1EF72 #72EFDF
square
#A072EF #EF7283 #C1EF72 #72EFDF
split-complementary
#A072EF #EFDF72 #83EF72
monochromatic
#5B18CF #7B3BE9 #A072EF #C5A9F5 #EAE0FB

Accessibility & contrast

On white

3.42
#A072EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A072EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072EF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072EF#FFFFFF#000000##000000
##A072EF1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#4E8AEC
Tritanopia (blue-blind)
#8F8BA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a072ef;
/* rgb */ color: rgb(160, 114, 239);
/* oklch */ color: oklch(65.4% 0.182 298.2);
Tailwind
colors: {
  custom: {
    50: '#c09cf5',
    500: '#a072ef',
    950: '#000000',
  },
}
SCSS
$custom: #a072ef;
$custom-light: #c09cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a072ef",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 262.08,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.18188,
    "h": 298.2
  },
  "luminance": 0.2574
}

Semantic roles & 50–950 ramp

primary
#A072EF
secondary
#E3F1CC
accent
#DC0A8F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A072EF

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

Preview Lab → · Contrast checker → · Palette generator →

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