#A62297#A62297

#A62297 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.205 H 333.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A62297
RGBrgb(166, 34, 151)
HSLhsl(307, 66%, 39%)
HSVhsv(307, 80%, 65%)
CMYKcmyk(0%, 79.5%, 9%, 34.9%)
CIE-LABlab(40.39, 63.40, -33.40)
CIE-LCHlch(40.39, 71.66, 332.21°)
OKLaboklab(51.34% 0.1836 -0.0917)
OKLCHoklch(51.34% 0.205 333.4)
XYZxyz(21.8840, 11.4873, 30.3369)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62297 #22A631
analogous
#7322A6 #A62297 #A62255
triadic
#A62297 #97A622 #2297A6
tetradic
#A62297 #A67322 #22A631 #2255A6
square
#A62297 #A67322 #22A631 #2255A6
split-complementary
#A62297 #55A622 #22A673
monochromatic
#400D3B #731869 #A62297 #D530C2 #DF63D1

Accessibility & contrast

On white

6.37
#A62297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A62297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62297
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62297#FFFFFF#000000##FFFFFF
##A622971.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#AE315C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62297;
/* rgb */ color: rgb(166, 34, 151);
/* oklch */ color: oklch(51.3% 0.205 333.4);
Tailwind
colors: {
  custom: {
    50: '#c46eb6',
    500: '#a62297',
    950: '#000000',
  },
}
SCSS
$custom: #a62297;
$custom-light: #c46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62297",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 306.818,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.20521,
    "h": 333.4
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#A62297
secondary
#5FC46B
accent
#E9523F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62297

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

Preview Lab → · Contrast checker → · Palette generator →

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