#A62FA8#A62FA8

#A62FA8 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.205 H 327.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A62FA8
RGBrgb(166, 47, 168)
HSLhsl(299, 56%, 42%)
HSVhsv(299, 72%, 66%)
CMYKcmyk(1.2%, 72%, 0%, 34.1%)
CIE-LABlab(42.72, 62.11, -39.93)
CIE-LCHlch(42.72, 73.83, 327.26°)
OKLaboklab(53.31% 0.1723 -0.1107)
OKLCHoklch(53.31% 0.205 327.3)
XYZxyz(23.8099, 12.9688, 38.2874)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FA8 #31A82F
analogous
#692FA8 #A62FA8 #A82F6E
triadic
#A62FA8 #A8A62F #2FA8A6
tetradic
#A62FA8 #A8692F #31A82F #2F6EA8
square
#A62FA8 #A8692F #31A82F #2F6EA8
split-complementary
#A62FA8 #6EA82F #2FA869
monochromatic
#471448 #772278 #A62FA8 #CA48CC #D878D9

Accessibility & contrast

On white

5.84
#A62FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A62FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FA8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FA8#FFFFFF#000000##FFFFFF
##A62FA81.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165BAB
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#AB4269
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a62fa8;
/* rgb */ color: rgb(166, 47, 168);
/* oklch */ color: oklch(53.3% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#c473c2',
    500: '#a62fa8',
    950: '#000000',
  },
}
SCSS
$custom: #a62fa8;
$custom-light: #c473c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fa8",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 299.008,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.20482,
    "h": 327.3
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#A62FA8
secondary
#73C171
accent
#E0484B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A62FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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