#A62792#A62792

#A62792 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.197 H 335.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A62792
RGBrgb(166, 39, 146)
HSLhsl(309, 62%, 40%)
HSVhsv(309, 77%, 65%)
CMYKcmyk(0%, 76.5%, 12%, 34.9%)
CIE-LABlab(40.63, 61.21, -29.99)
CIE-LCHlch(40.63, 68.17, 333.90°)
OKLaboklab(51.43% 0.179 -0.0819)
OKLCHoklch(51.43% 0.197 335.4)
XYZxyz(21.6400, 11.6353, 28.2947)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62792 #27A63B
analogous
#7B27A6 #A62792 #A62752
triadic
#A62792 #92A627 #2792A6
tetradic
#A62792 #A67B27 #27A63B #2752A6
square
#A62792 #A67B27 #27A63B #2752A6
split-complementary
#A62792 #52A627 #27A67B
monochromatic
#43103B #741B66 #A62792 #D13AB9 #DC6BCA

Accessibility & contrast

On white

6.31
#A62792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A62792
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62792#FFFFFF#000000##FFFFFF
##A627921.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#56668F
Tritanopia (blue-blind)
#AE325A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62792;
/* rgb */ color: rgb(166, 39, 146);
/* oklch */ color: oklch(51.4% 0.197 335.4);
Tailwind
colors: {
  custom: {
    50: '#c46fb2',
    500: '#a62792',
    950: '#000000',
  },
}
SCSS
$custom: #a62792;
$custom-light: #c46fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a62792",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 309.449,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.1969,
    "h": 335.4
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#A62792
secondary
#66C375
accent
#E55C43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62792

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

Preview Lab → · Contrast checker → · Palette generator →

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