#A62698#A62698

#A62698 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.202 H 333.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A62698
RGBrgb(166, 38, 152)
HSLhsl(307, 63%, 40%)
HSVhsv(307, 77%, 65%)
CMYKcmyk(0%, 77.1%, 8.4%, 34.9%)
CIE-LABlab(40.84, 62.42, -33.31)
CIE-LCHlch(40.84, 70.75, 331.92°)
OKLaboklab(51.68% 0.1803 -0.0915)
OKLCHoklch(51.68% 0.202 333.1)
XYZxyz(22.0866, 11.7621, 30.8068)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62698 #26A634
analogous
#7426A6 #A62698 #A62658
triadic
#A62698 #98A626 #2698A6
tetradic
#A62698 #A67426 #26A634 #2658A6
square
#A62698 #A67426 #26A634 #2658A6
split-complementary
#A62698 #58A626 #26A674
monochromatic
#420F3D #741B6A #A62698 #D138C1 #DD6AD0

Accessibility & contrast

On white

6.26
#A62698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A62698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62698
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62698#FFFFFF#000000##FFFFFF
##A626981.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#526795
Tritanopia (blue-blind)
#AE345D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62698;
/* rgb */ color: rgb(166, 38, 152);
/* oklch */ color: oklch(51.7% 0.202 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46fb7',
    500: '#a62698',
    950: '#000000',
  },
}
SCSS
$custom: #a62698;
$custom-light: #c46fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62698",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 306.563,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.20217,
    "h": 333.1
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#A62698
secondary
#65C36F
accent
#E65442
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62698

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

Preview Lab → · Contrast checker → · Palette generator →

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