#A63198#A63198

#A63198 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.190 H 333.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A63198
RGBrgb(166, 49, 152)
HSLhsl(307, 54%, 42%)
HSVhsv(307, 70%, 65%)
CMYKcmyk(0%, 70.5%, 8.4%, 34.9%)
CIE-LABlab(42.11, 58.78, -31.30)
CIE-LCHlch(42.11, 66.60, 331.97°)
OKLaboklab(52.6% 0.1697 -0.0858)
OKLCHoklch(52.6% 0.19 333.2)
XYZxyz(22.4918, 12.5725, 30.9418)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A63198 #31A63F
analogous
#7931A6 #A63198 #A6315E
triadic
#A63198 #98A631 #3198A6
tetradic
#A63198 #A67931 #31A63F #315EA6
square
#A63198 #A67931 #31A63F #315EA6
split-complementary
#A63198 #5EA631 #31A679
monochromatic
#471541 #77236D #A63198 #CA4ABA #D87ACC

Accessibility & contrast

On white

5.98
#A63198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A63198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A63198
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A63198#FFFFFF#000000##FFFFFF
##A631981.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599B
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#AD3C61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a63198;
/* rgb */ color: rgb(166, 49, 152);
/* oklch */ color: oklch(52.6% 0.190 333.2);
Tailwind
colors: {
  custom: {
    50: '#c474b6',
    500: '#a63198',
    950: '#000000',
  },
}
SCSS
$custom: #a63198;
$custom-light: #c474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a63198",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 307.179,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.19011,
    "h": 333.2
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#A63198
secondary
#73C07C
accent
#DE5C4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A63198

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

Preview Lab → · Contrast checker → · Palette generator →

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