#A072F9#A072F9

#A072F9 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.194 H 296.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A072F9
RGBrgb(160, 114, 249)
HSLhsl(260, 92%, 71%)
HSVhsv(260, 54%, 98%)
CMYKcmyk(35.7%, 54.2%, 0%, 2.4%)
CIE-LABlab(58.37, 46.54, -61.35)
CIE-LCHlch(58.37, 77.00, 307.18°)
OKLaboklab(66.05% 0.0864 -0.1738)
OKLCHoklch(66.05% 0.194 296.4)
XYZxyz(37.6091, 26.3472, 92.7082)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A072F9 #CBF972
analogous
#7287F9 #A072F9 #E372F9
triadic
#A072F9 #F9A072 #72F9A0
tetradic
#A072F9 #F97287 #CBF972 #72F9E3
square
#A072F9 #F97287 #CBF972 #72F9E3
split-complementary
#A072F9 #F9E372 #87F972
monochromatic
#550AE7 #7837F7 #A072F9 #C8ADFB #EBE2FE

Accessibility & contrast

On white

3.35
#A072F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A072F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A072F9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A072F9#FFFFFF#000000##000000
##A072F91.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFE
Deuteranopia (green-blind)
#448BF6
Tritanopia (blue-blind)
#8B8EAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a072f9;
/* rgb */ color: rgb(160, 114, 249);
/* oklch */ color: oklch(66.1% 0.194 296.4);
Tailwind
colors: {
  custom: {
    50: '#c09cfc',
    500: '#a072f9',
    950: '#000000',
  },
}
SCSS
$custom: #a072f9;
$custom-light: #c09cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a072f9",
  "rgb": {
    "r": 160,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 260.444,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66051,
    "c": 0.19413,
    "h": 296.4
  },
  "luminance": 0.26348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A072F9

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

Preview Lab → · Contrast checker → · Palette generator →

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