#A62E98#A62E98

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

Color values

HEX#A62E98
RGBrgb(166, 46, 152)
HSLhsl(307, 57%, 42%)
HSVhsv(307, 72%, 65%)
CMYKcmyk(0%, 72.3%, 8.4%, 34.9%)
CIE-LABlab(41.74, 59.85, -31.89)
CIE-LCHlch(41.74, 67.81, 331.95°)
OKLaboklab(52.33% 0.1728 -0.0874)
OKLCHoklch(52.33% 0.194 333.2)
XYZxyz(22.3705, 12.3298, 30.9014)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62E98 #2EA63C
analogous
#782EA6 #A62E98 #A62E5C
triadic
#A62E98 #98A62E #2E98A6
tetradic
#A62E98 #A6782E #2EA63C #2E5CA6
square
#A62E98 #A6782E #2EA63C #2E5CA6
split-complementary
#A62E98 #5CA62E #2EA678
monochromatic
#461340 #76216C #A62E98 #CC46BC #D976CD

Accessibility & contrast

On white

6.06
#A62E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A62E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62E98
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62E98#FFFFFF#000000##FFFFFF
##A62E981.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#AD3A60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a62e98;
/* rgb */ color: rgb(166, 46, 152);
/* oklch */ color: oklch(52.3% 0.194 333.2);
Tailwind
colors: {
  custom: {
    50: '#c472b6',
    500: '#a62e98',
    950: '#000000',
  },
}
SCSS
$custom: #a62e98;
$custom-light: #c472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62e98",
  "rgb": {
    "r": 166,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 307,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.19364,
    "h": 333.2
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A62E98

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

Preview Lab → · Contrast checker → · Palette generator →

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