#A62198#A62198

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

Color values

HEX#A62198
RGBrgb(166, 33, 152)
HSLhsl(306, 67%, 39%)
HSVhsv(306, 80%, 65%)
CMYKcmyk(0%, 80.1%, 8.4%, 34.9%)
CIE-LABlab(40.35, 63.81, -34.07)
CIE-LCHlch(40.35, 72.34, 331.90°)
OKLaboklab(51.33% 0.1844 -0.0936)
OKLCHoklch(51.33% 0.207 333.1)
XYZxyz(21.9374, 11.4636, 30.7570)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62198 #21A62F
analogous
#7221A6 #A62198 #A62156
triadic
#A62198 #98A621 #2198A6
tetradic
#A62198 #A67221 #21A62F #2156A6
square
#A62198 #A67221 #21A62F #2156A6
split-complementary
#A62198 #56A621 #21A672
monochromatic
#400D3B #731769 #A62198 #D62FC4 #E062D2

Accessibility & contrast

On white

6.38
#A62198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A62198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62198
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62198#FFFFFF#000000##FFFFFF
##A621981.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AE315C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62198;
/* rgb */ color: rgb(166, 33, 152);
/* oklch */ color: oklch(51.3% 0.207 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46db7',
    500: '#a62198',
    950: '#000000',
  },
}
SCSS
$custom: #a62198;
$custom-light: #c46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62198",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 306.316,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.2068,
    "h": 333.1
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#A62198
secondary
#5EC569
accent
#EA503E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62198

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

Preview Lab → · Contrast checker → · Palette generator →

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