#A62795#A62795

#A62795 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.199 H 334.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A62795
RGBrgb(166, 39, 149)
HSLhsl(308, 62%, 40%)
HSVhsv(308, 77%, 65%)
CMYKcmyk(0%, 76.5%, 10.2%, 34.9%)
CIE-LABlab(40.78, 61.66, -31.57)
CIE-LCHlch(40.78, 69.27, 332.89°)
OKLaboklab(51.59% 0.1793 -0.0865)
OKLCHoklch(51.59% 0.199 334.2)
XYZxyz(21.8764, 11.7299, 29.5399)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62795 #27A638
analogous
#7727A6 #A62795 #A62756
triadic
#A62795 #95A627 #2795A6
tetradic
#A62795 #A67727 #27A638 #2756A6
square
#A62795 #A67727 #27A638 #2756A6
split-complementary
#A62795 #56A627 #27A677
monochromatic
#43103C #741B69 #A62795 #D13ABC #DC6BCD

Accessibility & contrast

On white

6.28
#A62795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A62795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62795
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62795#FFFFFF#000000##FFFFFF
##A627951.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#546792
Tritanopia (blue-blind)
#AE335C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62795;
/* rgb */ color: rgb(166, 39, 149);
/* oklch */ color: oklch(51.6% 0.199 334.2);
Tailwind
colors: {
  custom: {
    50: '#c46fb4',
    500: '#a62795',
    950: '#000000',
  },
}
SCSS
$custom: #a62795;
$custom-light: #c46fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a62795",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 308.031,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.19902,
    "h": 334.2
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#A62795
secondary
#66C373
accent
#E55843
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62795

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

Preview Lab → · Contrast checker → · Palette generator →

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