#A02CB7#A02CB7

#A02CB7 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.218 H 320.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A02CB7
RGBrgb(160, 44, 183)
HSLhsl(290, 61%, 45%)
HSVhsv(290, 76%, 72%)
CMYKcmyk(12.6%, 76%, 0%, 28.2%)
CIE-LABlab(42.30, 64.49, -49.53)
CIE-LCHlch(42.30, 81.32, 322.47°)
OKLaboklab(53.11% 0.1674 -0.1389)
OKLCHoklch(53.11% 0.218 320.3)
XYZxyz(23.9441, 12.6951, 45.9797)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CB7 #43B72C
analogous
#5B2CB7 #A02CB7 #B72C89
triadic
#A02CB7 #B7A02C #2CB7A0
tetradic
#A02CB7 #B75B2C #43B72C #2C89B7
square
#A02CB7 #B75B2C #43B72C #2C89B7
split-complementary
#A02CB7 #89B72C #2CB75B
monochromatic
#4A1454 #752086 #A02CB7 #BE4CD4 #D07EE0

Accessibility & contrast

On white

5.93
#A02CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A02CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CB7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CB7#FFFFFF#000000##FFFFFF
##A02CB71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#A14970
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02cb7;
/* rgb */ color: rgb(160, 44, 183);
/* oklch */ color: oklch(53.1% 0.218 320.3);
Tailwind
colors: {
  custom: {
    50: '#c072cd',
    500: '#a02cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a02cb7;
$custom-light: #c072cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cb7",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 290.072,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.21756,
    "h": 320.3
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#A02CB7
secondary
#84C876
accent
#E4435E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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