#A62E97#A62E97

#A62E97 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.193 H 333.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A62E97
RGBrgb(166, 46, 151)
HSLhsl(308, 57%, 42%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 72.3%, 9%, 34.9%)
CIE-LABlab(41.68, 59.69, -31.36)
CIE-LCHlch(41.68, 67.43, 332.28°)
OKLaboklab(52.27% 0.1727 -0.0859)
OKLCHoklch(52.27% 0.193 333.5)
XYZxyz(22.2889, 12.2972, 30.4719)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62E97 #2EA63D
analogous
#792EA6 #A62E97 #A62E5B
triadic
#A62E97 #97A62E #2E97A6
tetradic
#A62E97 #A6792E #2EA63D #2E5BA6
square
#A62E97 #A6792E #2EA63D #2E5BA6
split-complementary
#A62E97 #5BA62E #2EA679
monochromatic
#461340 #76216B #A62E97 #CC46BB #D976CC

Accessibility & contrast

On white

6.07
#A62E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A62E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62E97
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62E97#FFFFFF#000000##FFFFFF
##A62E971.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#AE395F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a62e97;
/* rgb */ color: rgb(166, 46, 151);
/* oklch */ color: oklch(52.3% 0.193 333.5);
Tailwind
colors: {
  custom: {
    50: '#c472b6',
    500: '#a62e97',
    950: '#000000',
  },
}
SCSS
$custom: #a62e97;
$custom-light: #c472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62e97",
  "rgb": {
    "r": 166,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 307.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.1929,
    "h": 333.5
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#A62E97
secondary
#6FC179
accent
#E05B48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A62E97

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

Preview Lab → · Contrast checker → · Palette generator →

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