#A62398#A62398

#A62398 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 333.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A62398
RGBrgb(166, 35, 152)
HSLhsl(306, 65%, 39%)
HSVhsv(306, 79%, 65%)
CMYKcmyk(0%, 78.9%, 8.4%, 34.9%)
CIE-LABlab(40.54, 63.27, -33.78)
CIE-LCHlch(40.54, 71.72, 331.91°)
OKLaboklab(51.47% 0.1828 -0.0928)
OKLCHoklch(51.47% 0.205 333.1)
XYZxyz(21.9946, 11.5780, 30.7761)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62398 #23A631
analogous
#7323A6 #A62398 #A62357
triadic
#A62398 #98A623 #2398A6
tetradic
#A62398 #A67323 #23A631 #2357A6
square
#A62398 #A67323 #23A631 #2357A6
split-complementary
#A62398 #57A623 #23A673
monochromatic
#410E3B #73186A #A62398 #D432C3 #DF65D2

Accessibility & contrast

On white

6.33
#A62398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A62398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62398
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62398#FFFFFF#000000##FFFFFF
##A623981.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AE325D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62398;
/* rgb */ color: rgb(166, 35, 152);
/* oklch */ color: oklch(51.5% 0.205 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46eb7',
    500: '#a62398',
    950: '#000000',
  },
}
SCSS
$custom: #a62398;
$custom-light: #c46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a62398",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 306.412,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.20501,
    "h": 333.1
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#A62398
secondary
#61C46B
accent
#E85240
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A62398

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

Preview Lab → · Contrast checker → · Palette generator →

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