#A457B2#A457B2

#A457B2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.3% C 0.156 H 321.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A457B2
RGBrgb(164, 87, 178)
HSLhsl(291, 37%, 52%)
HSVhsv(291, 51%, 70%)
CMYKcmyk(7.9%, 51.1%, 0%, 30.2%)
CIE-LABlab(49.40, 45.76, -35.28)
CIE-LCHlch(49.40, 57.78, 322.37°)
OKLaboklab(58.29% 0.1217 -0.0976)
OKLCHoklch(58.29% 0.156 321.3)
XYZxyz(26.7530, 17.9244, 44.1614)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457B2 #65B257
analogous
#7757B2 #A457B2 #B25793
triadic
#A457B2 #B2A457 #57B2A4
tetradic
#A457B2 #B27757 #65B257 #5793B2
square
#A457B2 #B27757 #65B257 #5793B2
split-complementary
#A457B2 #93B257 #57B277
monochromatic
#5A2D62 #80408C #A457B2 #BB81C5 #D1ABD8

Accessibility & contrast

On white

4.58
#A457B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A457B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457B2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457B2#FFFFFF#000000##000000
##A457B21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#A6637C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a457b2;
/* rgb */ color: rgb(164, 87, 178);
/* oklch */ color: oklch(58.3% 0.156 321.3);
Tailwind
colors: {
  custom: {
    50: '#c189c9',
    500: '#a457b2',
    950: '#000000',
  },
}
SCSS
$custom: #a457b2;
$custom-light: #c189c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a457b2",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 290.769,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.15603,
    "h": 321.3
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#A457B2
secondary
#A5C69E
accent
#CD5B6C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A457B2

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

Preview Lab → · Contrast checker → · Palette generator →

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