#A62892#A62892

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

Color values

HEX#A62892
RGBrgb(166, 40, 146)
HSLhsl(310, 61%, 40%)
HSVhsv(310, 76%, 65%)
CMYKcmyk(0%, 75.9%, 12%, 34.9%)
CIE-LABlab(40.74, 60.91, -29.82)
CIE-LCHlch(40.74, 67.81, 333.91°)
OKLaboklab(51.51% 0.1781 -0.0815)
OKLCHoklch(51.51% 0.196 335.4)
XYZxyz(21.6733, 11.7019, 28.3058)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62892 #28A63C
analogous
#7B28A6 #A62892 #A62853
triadic
#A62892 #92A628 #2892A6
tetradic
#A62892 #A67B28 #28A63C #2853A6
square
#A62892 #A67B28 #28A63C #2853A6
split-complementary
#A62892 #53A628 #28A67B
monochromatic
#43103B #751C67 #A62892 #D03BB8 #DC6DCA

Accessibility & contrast

On white

6.29
#A62892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A62892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62892
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62892#FFFFFF#000000##FFFFFF
##A628921.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#56678F
Tritanopia (blue-blind)
#AE325B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62892;
/* rgb */ color: rgb(166, 40, 146);
/* oklch */ color: oklch(51.5% 0.196 335.4);
Tailwind
colors: {
  custom: {
    50: '#c470b2',
    500: '#a62892',
    950: '#000000',
  },
}
SCSS
$custom: #a62892;
$custom-light: #c470b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a62892",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 309.524,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.19587,
    "h": 335.4
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#A62892
secondary
#67C276
accent
#E45D44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62892

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

Preview Lab → · Contrast checker → · Palette generator →

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