#A62098#A62098

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

Color values

HEX#A62098
RGBrgb(166, 32, 152)
HSLhsl(306, 68%, 39%)
HSVhsv(306, 81%, 65%)
CMYKcmyk(0%, 80.7%, 8.4%, 34.9%)
CIE-LABlab(40.26, 64.07, -34.21)
CIE-LCHlch(40.26, 72.63, 331.90°)
OKLaboklab(51.27% 0.1851 -0.094)
OKLCHoklch(51.27% 0.208 333.1)
XYZxyz(21.9100, 11.4089, 30.7479)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62098 #20A62E
analogous
#7120A6 #A62098 #A62055
triadic
#A62098 #98A620 #2098A6
tetradic
#A62098 #A67120 #20A62E #2055A6
square
#A62098 #A67120 #20A62E #2055A6
split-complementary
#A62098 #55A620 #20A671
monochromatic
#3F0C3A #731669 #A62098 #D62DC5 #E060D3

Accessibility & contrast

On white

6.40
#A62098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A62098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62098
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62098#FFFFFF#000000##FFFFFF
##A620981.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#AE305C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62098;
/* rgb */ color: rgb(166, 32, 152);
/* oklch */ color: oklch(51.3% 0.208 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46db7',
    500: '#a62098',
    950: '#000000',
  },
}
SCSS
$custom: #a62098;
$custom-light: #c46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62098",
  "rgb": {
    "r": 166,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 306.269,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.20766,
    "h": 333.1
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#A62098
secondary
#5DC568
accent
#EB4F3D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62098

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

Preview Lab → · Contrast checker → · Palette generator →

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