#A072EC#A072EC

#A072EC is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.178 H 298.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A072EC
RGBrgb(160, 114, 236)
HSLhsl(263, 76%, 69%)
HSVhsv(263, 52%, 93%)
CMYKcmyk(32.2%, 51.7%, 0%, 7.5%)
CIE-LABlab(57.62, 43.26, -55.32)
CIE-LCHlch(57.62, 70.23, 308.02°)
OKLaboklab(65.26% 0.0858 -0.1562)
OKLCHoklch(65.26% 0.178 298.8)
XYZxyz(35.6512, 25.5640, 82.3967)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072EC #BEEC72
analogous
#7281EC #A072EC #DD72EC
triadic
#A072EC #ECA072 #72ECA0
tetradic
#A072EC #EC7281 #BEEC72 #72ECDD
square
#A072EC #EC7281 #BEEC72 #72ECDD
split-complementary
#A072EC #ECDD72 #81EC72
monochromatic
#5C1BC9 #7C3CE5 #A072EC #C4A8F3 #E9DEFB

Accessibility & contrast

On white

3.44
#A072EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A072EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072EC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072EC#FFFFFF#000000##000000
##A072EC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AF0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#908AA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a072ec;
/* rgb */ color: rgb(160, 114, 236);
/* oklch */ color: oklch(65.3% 0.178 298.8);
Tailwind
colors: {
  custom: {
    50: '#c09cf3',
    500: '#a072ec',
    950: '#000000',
  },
}
SCSS
$custom: #a072ec;
$custom-light: #c09cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a072ec",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 262.623,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65261,
    "c": 0.17818,
    "h": 298.8
  },
  "luminance": 0.25564
}

Semantic roles & 50–950 ramp

primary
#A072EC
secondary
#E1EFCB
accent
#D80D8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A072EC

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

Preview Lab → · Contrast checker → · Palette generator →

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