#A63298#A63298

#A63298 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.7% C 0.189 H 333.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A63298
RGBrgb(166, 50, 152)
HSLhsl(307, 54%, 42%)
HSVhsv(307, 70%, 65%)
CMYKcmyk(0%, 69.9%, 8.4%, 34.9%)
CIE-LABlab(42.24, 58.42, -31.09)
CIE-LCHlch(42.24, 66.18, 331.98°)
OKLaboklab(52.69% 0.1686 -0.0852)
OKLCHoklch(52.69% 0.189 333.2)
XYZxyz(22.5341, 12.6570, 30.9559)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A63298 #32A640
analogous
#7A32A6 #A63298 #A6325E
triadic
#A63298 #98A632 #3298A6
tetradic
#A63298 #A67A32 #32A640 #325EA6
square
#A63298 #A67A32 #32A640 #325EA6
split-complementary
#A63298 #5EA632 #32A67A
monochromatic
#481642 #77246D #A63298 #C94CBA #D77BCC

Accessibility & contrast

On white

5.95
#A63298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A63298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A63298
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A63298#FFFFFF#000000##FFFFFF
##A632981.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#AD3D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a63298;
/* rgb */ color: rgb(166, 50, 152);
/* oklch */ color: oklch(52.7% 0.189 333.2);
Tailwind
colors: {
  custom: {
    50: '#c474b6',
    500: '#a63298',
    950: '#000000',
  },
}
SCSS
$custom: #a63298;
$custom-light: #c474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a63298",
  "rgb": {
    "r": 166,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 307.241,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.18889,
    "h": 333.2
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#A63298
secondary
#74C07D
accent
#DD5C4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A63298

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

Preview Lab → · Contrast checker → · Palette generator →

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