#A02FD2#A02FD2

#A02FD2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.238 H 312.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A02FD2
RGBrgb(160, 47, 210)
HSLhsl(282, 64%, 50%)
HSVhsv(282, 78%, 82%)
CMYKcmyk(23.8%, 77.6%, 0%, 17.6%)
CIE-LABlab(44.46, 68.66, -61.76)
CIE-LCHlch(44.46, 92.35, 318.03°)
OKLaboklab(55.22% 0.1609 -0.1748)
OKLCHoklch(55.22% 0.238 312.6)
XYZxyz(27.1445, 14.1606, 62.2636)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FD2 #61D22F
analogous
#4E2FD2 #A02FD2 #D22FB3
triadic
#A02FD2 #D2A02F #2FD2A0
tetradic
#A02FD2 #D24E2F #61D22F #2FB3D2
square
#A02FD2 #D24E2F #61D22F #2FB3D2
split-complementary
#A02FD2 #B3D22F #2FD24E
monochromatic
#54186F #7A23A1 #A02FD2 #B761DD #CE94E8

Accessibility & contrast

On white

5.48
#A02FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A02FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FD2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FD2#FFFFFF#000000##FFFFFF
##A02FD21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#136BCF
Tritanopia (blue-blind)
#9A5680
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a02fd2;
/* rgb */ color: rgb(160, 47, 210);
/* oklch */ color: oklch(55.2% 0.238 312.6);
Tailwind
colors: {
  custom: {
    50: '#c175e1',
    500: '#a02fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a02fd2;
$custom-light: #c175e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fd2",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 281.595,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.23761,
    "h": 312.6
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

primary
#A02FD2
secondary
#A0D38A
accent
#E74074
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A02FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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