#A02FC4#A02FC4

#A02FC4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.226 H 316.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A02FC4
RGBrgb(160, 47, 196)
HSLhsl(286, 61%, 48%)
HSVhsv(286, 76%, 77%)
CMYKcmyk(18.4%, 76%, 0%, 23.1%)
CIE-LABlab(43.50, 65.93, -55.22)
CIE-LCHlch(43.50, 85.99, 320.05°)
OKLaboklab(54.23% 0.1633 -0.1556)
OKLCHoklch(54.23% 0.226 316.4)
XYZxyz(25.4760, 13.4932, 53.4763)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FC4 #53C42F
analogous
#552FC4 #A02FC4 #C42F9E
triadic
#A02FC4 #C4A02F #2FC4A0
tetradic
#A02FC4 #C4552F #53C42F #2F9EC4
square
#A02FC4 #C4552F #53C42F #2F9EC4
split-complementary
#A02FC4 #9EC42F #2FC455
monochromatic
#4F1761 #782393 #A02FC4 #B959D7 #CE8AE3

Accessibility & contrast

On white

5.68
#A02FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A02FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FC4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FC4#FFFFFF#000000##FFFFFF
##A02FC41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#2E6AC1
Tritanopia (blue-blind)
#9E5078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a02fc4;
/* rgb */ color: rgb(160, 47, 196);
/* oklch */ color: oklch(54.2% 0.226 316.4);
Tailwind
colors: {
  custom: {
    50: '#c174d7',
    500: '#a02fc4',
    950: '#000000',
  },
}
SCSS
$custom: #a02fc4;
$custom-light: #c174d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fc4",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 285.503,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.22553,
    "h": 316.4
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#A02FC4
secondary
#94CD82
accent
#E4436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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