#A02DBE#A02DBE

#A02DBE is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.222 H 318.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A02DBE
RGBrgb(160, 45, 190)
HSLhsl(288, 62%, 46%)
HSVhsv(288, 76%, 75%)
CMYKcmyk(15.8%, 76.3%, 0%, 25.5%)
CIE-LABlab(42.87, 65.46, -52.73)
CIE-LCHlch(42.87, 84.05, 321.15°)
OKLaboklab(53.66% 0.1658 -0.1483)
OKLCHoklch(53.66% 0.222 318.2)
XYZxyz(24.7286, 13.0692, 49.9253)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DBE #4BBE2D
analogous
#572DBE #A02DBE #BE2D93
triadic
#A02DBE #BEA02D #2DBEA0
tetradic
#A02DBE #BE572D #4BBE2D #2D93BE
square
#A02DBE #BE572D #4BBE2D #2D93BE
split-complementary
#A02DBE #93BE2D #2DBE57
monochromatic
#4D165B #76218D #A02DBE #BB52D6 #CE84E2

Accessibility & contrast

On white

5.81
#A02DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A02DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DBE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DBE#FFFFFF#000000##FFFFFF
##A02DBE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#9F4C75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02dbe;
/* rgb */ color: rgb(160, 45, 190);
/* oklch */ color: oklch(53.7% 0.222 318.2);
Tailwind
colors: {
  custom: {
    50: '#c073d2',
    500: '#a02dbe',
    950: '#000000',
  },
}
SCSS
$custom: #a02dbe;
$custom-light: #c073d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02dbe",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 287.586,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53658,
    "c": 0.22242,
    "h": 318.2
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#A02DBE
secondary
#8CCB7C
accent
#E54364
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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