#A63297#A63297

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

Color values

HEX#A63297
RGBrgb(166, 50, 151)
HSLhsl(308, 54%, 42%)
HSVhsv(308, 70%, 65%)
CMYKcmyk(0%, 69.9%, 9%, 34.9%)
CIE-LABlab(42.19, 58.26, -30.57)
CIE-LCHlch(42.19, 65.79, 332.31°)
OKLaboklab(52.64% 0.1685 -0.0837)
OKLCHoklch(52.64% 0.188 333.6)
XYZxyz(22.4525, 12.6244, 30.5264)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A63297 #32A641
analogous
#7B32A6 #A63297 #A6325D
triadic
#A63297 #97A632 #3297A6
tetradic
#A63297 #A67B32 #32A641 #325DA6
square
#A63297 #A67B32 #32A641 #325DA6
split-complementary
#A63297 #5DA632 #32A67B
monochromatic
#481641 #77246C #A63297 #C94CB9 #D77BCB

Accessibility & contrast

On white

5.96
#A63297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A63297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A63297
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A63297#FFFFFF#000000##FFFFFF
##A632971.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#AE3C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a63297;
/* rgb */ color: rgb(166, 50, 151);
/* oklch */ color: oklch(52.6% 0.188 333.6);
Tailwind
colors: {
  custom: {
    50: '#c474b6',
    500: '#a63297',
    950: '#000000',
  },
}
SCSS
$custom: #a63297;
$custom-light: #c474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a63297",
  "rgb": {
    "r": 166,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 307.759,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.18813,
    "h": 333.6
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#A63297
secondary
#74C07E
accent
#DD5E4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A63297

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

Preview Lab → · Contrast checker → · Palette generator →

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