#A63197#A63197

#A63197 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.189 H 333.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A63197
RGBrgb(166, 49, 151)
HSLhsl(308, 54%, 42%)
HSVhsv(308, 70%, 65%)
CMYKcmyk(0%, 70.5%, 9%, 34.9%)
CIE-LABlab(42.06, 58.63, -30.77)
CIE-LCHlch(42.06, 66.21, 332.31°)
OKLaboklab(52.54% 0.1696 -0.0843)
OKLCHoklch(52.54% 0.189 333.6)
XYZxyz(22.4103, 12.5398, 30.5123)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A63197 #31A640
analogous
#7A31A6 #A63197 #A6315D
triadic
#A63197 #97A631 #3197A6
tetradic
#A63197 #A67A31 #31A640 #315DA6
square
#A63197 #A67A31 #31A640 #315DA6
split-complementary
#A63197 #5DA631 #31A67A
monochromatic
#471541 #77236C #A63197 #CA4AB9 #D87ACC

Accessibility & contrast

On white

5.99
#A63197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A63197
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A63197#FFFFFF#000000##FFFFFF
##A631971.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#AE3B60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a63197;
/* rgb */ color: rgb(166, 49, 151);
/* oklch */ color: oklch(52.5% 0.189 333.6);
Tailwind
colors: {
  custom: {
    50: '#c474b6',
    500: '#a63197',
    950: '#000000',
  },
}
SCSS
$custom: #a63197;
$custom-light: #c474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a63197",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 307.692,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.18935,
    "h": 333.6
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#A63197
secondary
#73C07D
accent
#DE5D4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A63197

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

Preview Lab → · Contrast checker → · Palette generator →

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