#A451B2#A451B2

#A451B2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.4% C 0.166 H 321.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A451B2
RGBrgb(164, 81, 178)
HSLhsl(291, 39%, 51%)
HSVhsv(291, 54%, 70%)
CMYKcmyk(7.9%, 54.5%, 0%, 30.2%)
CIE-LABlab(48.25, 48.82, -37.09)
CIE-LCHlch(48.25, 61.31, 322.77°)
OKLaboklab(57.44% 0.1301 -0.1028)
OKLCHoklch(57.44% 0.166 321.7)
XYZxyz(26.2873, 16.9929, 44.0061)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451B2 #5FB251
analogous
#7351B2 #A451B2 #B2518F
triadic
#A451B2 #B2A451 #51B2A4
tetradic
#A451B2 #B27351 #5FB251 #518FB2
square
#A451B2 #B27351 #5FB251 #518FB2
split-complementary
#A451B2 #8FB251 #51B273
monochromatic
#572A5F #7E3D89 #A451B2 #BA7BC5 #D0A6D8

Accessibility & contrast

On white

4.77
#A451B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A451B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A451B2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451B2#FFFFFF#000000##FFFFFF
##A451B21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#A65F7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a451b2;
/* rgb */ color: rgb(164, 81, 178);
/* oklch */ color: oklch(57.4% 0.166 321.7);
Tailwind
colors: {
  custom: {
    50: '#c186c9',
    500: '#a451b2',
    950: '#000000',
  },
}
SCSS
$custom: #a451b2;
$custom-light: #c186c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a451b2",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 291.34,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.16578,
    "h": 321.7
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#A451B2
secondary
#A0C59A
accent
#CF596A
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A451B2

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

Preview Lab → · Contrast checker → · Palette generator →

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