#A62793#A62793

#A62793 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.198 H 335.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A62793
RGBrgb(166, 39, 147)
HSLhsl(309, 62%, 40%)
HSVhsv(309, 77%, 65%)
CMYKcmyk(0%, 76.5%, 11.4%, 34.9%)
CIE-LABlab(40.68, 61.36, -30.52)
CIE-LCHlch(40.68, 68.53, 333.56°)
OKLaboklab(51.48% 0.1791 -0.0834)
OKLCHoklch(51.48% 0.198 335)
XYZxyz(21.7181, 11.6666, 28.7062)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62793 #27A63A
analogous
#7927A6 #A62793 #A62754
triadic
#A62793 #93A627 #2793A6
tetradic
#A62793 #A67927 #27A63A #2754A6
square
#A62793 #A67927 #27A63A #2754A6
split-complementary
#A62793 #54A627 #27A679
monochromatic
#43103B #741B67 #A62793 #D13ABA #DC6BCB

Accessibility & contrast

On white

6.30
#A62793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A62793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62793
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62793#FFFFFF#000000##FFFFFF
##A627931.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#556790
Tritanopia (blue-blind)
#AE325B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62793;
/* rgb */ color: rgb(166, 39, 147);
/* oklch */ color: oklch(51.5% 0.198 335.0);
Tailwind
colors: {
  custom: {
    50: '#c46fb3',
    500: '#a62793',
    950: '#000000',
  },
}
SCSS
$custom: #a62793;
$custom-light: #c46fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a62793",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 308.976,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.19761,
    "h": 335
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#A62793
secondary
#66C374
accent
#E55B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62793

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

Preview Lab → · Contrast checker → · Palette generator →

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