#A02795#A02795

#A02795 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.196 H 332.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A02795
RGBrgb(160, 39, 149)
HSLhsl(305, 61%, 39%)
HSVhsv(305, 76%, 63%)
CMYKcmyk(0%, 75.6%, 6.9%, 37.3%)
CIE-LABlab(39.74, 60.30, -33.28)
CIE-LCHlch(39.74, 68.88, 331.11°)
OKLaboklab(50.65% 0.1731 -0.0916)
OKLCHoklch(50.65% 0.196 332.1)
XYZxyz(20.6476, 11.0963, 29.4823)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02795 #27A032
analogous
#6F27A0 #A02795 #A02758
triadic
#A02795 #95A027 #2795A0
tetradic
#A02795 #A06F27 #27A032 #2758A0
square
#A02795 #A06F27 #27A032 #2758A0
split-complementary
#A02795 #58A027 #27A06F
monochromatic
#3E0F39 #6F1B67 #A02795 #CE36C0 #DA67D0

Accessibility & contrast

On white

6.52
#A02795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A02795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02795
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02795#FFFFFF#000000##FFFFFF
##A027951.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A7355C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02795;
/* rgb */ color: rgb(160, 39, 149);
/* oklch */ color: oklch(50.6% 0.196 332.1);
Tailwind
colors: {
  custom: {
    50: '#c06fb4',
    500: '#a02795',
    950: '#000000',
  },
}
SCSS
$custom: #a02795;
$custom-light: #c06fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02795",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 305.455,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.19584,
    "h": 332.1
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#A02795
secondary
#63C06B
accent
#E45244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02795

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

Preview Lab → · Contrast checker → · Palette generator →

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