#A072F8#A072F8

#A072F8 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.193 H 296.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A072F8
RGBrgb(160, 114, 248)
HSLhsl(261, 91%, 71%)
HSVhsv(261, 54%, 97%)
CMYKcmyk(35.5%, 54%, 0%, 2.7%)
CIE-LABlab(58.31, 46.28, -60.89)
CIE-LCHlch(58.31, 76.48, 307.24°)
OKLaboklab(65.99% 0.0864 -0.1725)
OKLCHoklch(65.99% 0.193 296.6)
XYZxyz(37.4535, 26.2849, 91.8890)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072F8 #CAF872
analogous
#7287F8 #A072F8 #E372F8
triadic
#A072F8 #F8A072 #72F8A0
tetradic
#A072F8 #F87287 #CAF872 #72F8E3
square
#A072F8 #F87287 #CAF872 #72F8E3
split-complementary
#A072F8 #F8E372 #87F872
monochromatic
#560BE4 #7938F5 #A072F8 #C7ACFB #EBE2FE

Accessibility & contrast

On white

3.36
#A072F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A072F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072F8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072F8#FFFFFF#000000##000000
##A072F81.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#8C8DAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a072f8;
/* rgb */ color: rgb(160, 114, 248);
/* oklch */ color: oklch(66.0% 0.193 296.6);
Tailwind
colors: {
  custom: {
    50: '#c09cfb',
    500: '#a072f8',
    950: '#000000',
  },
}
SCSS
$custom: #a072f8;
$custom-light: #c09cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a072f8",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 260.597,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65989,
    "c": 0.19291,
    "h": 296.6
  },
  "luminance": 0.26286
}

Semantic roles & 50–950 ramp

primary
#A072F8
secondary
#E8F5D1
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A072F8

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

Preview Lab → · Contrast checker → · Palette generator →

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