#A02DBF#A02DBF

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

Color values

HEX#A02DBF
RGBrgb(160, 45, 191)
HSLhsl(287, 62%, 46%)
HSVhsv(287, 76%, 75%)
CMYKcmyk(16.2%, 76.4%, 0%, 25.1%)
CIE-LABlab(42.93, 65.64, -53.21)
CIE-LCHlch(42.93, 84.50, 320.97°)
OKLaboklab(53.73% 0.1657 -0.1497)
OKLCHoklch(53.73% 0.223 317.9)
XYZxyz(24.8382, 13.1131, 50.5028)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DBF #4CBF2D
analogous
#572DBF #A02DBF #BF2D95
triadic
#A02DBF #BFA02D #2DBFA0
tetradic
#A02DBF #BF572D #4CBF2D #2D95BF
square
#A02DBF #BF572D #4CBF2D #2D95BF
split-complementary
#A02DBF #95BF2D #2DBF57
monochromatic
#4D165C #77218D #A02DBF #BA53D6 #CE84E2

Accessibility & contrast

On white

5.80
#A02DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A02DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DBF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DBF#FFFFFF#000000##FFFFFF
##A02DBF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#9F4D75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02dbf;
/* rgb */ color: rgb(160, 45, 191);
/* oklch */ color: oklch(53.7% 0.223 317.9);
Tailwind
colors: {
  custom: {
    50: '#c073d3',
    500: '#a02dbf',
    950: '#000000',
  },
}
SCSS
$custom: #a02dbf;
$custom-light: #c073d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a02dbf",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 287.26,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.22327,
    "h": 317.9
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#A02DBF
secondary
#8DCB7C
accent
#E54365
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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