#A457BB#A457BB

#A457BB is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.8% C 0.165 H 318.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A457BB
RGBrgb(164, 87, 187)
HSLhsl(286, 42%, 54%)
HSVhsv(286, 53%, 73%)
CMYKcmyk(12.3%, 53.5%, 0%, 26.7%)
CIE-LABlab(49.86, 47.59, -39.80)
CIE-LCHlch(49.86, 62.04, 320.09°)
OKLaboklab(58.77% 0.1228 -0.1107)
OKLCHoklch(58.77% 0.165 318)
XYZxyz(27.6864, 18.2978, 49.0775)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A457BB #6EBB57
analogous
#7257BB #A457BB #BB57A0
triadic
#A457BB #BBA457 #57BBA4
tetradic
#A457BB #BB7257 #6EBB57 #57A0BB
square
#A457BB #BB7257 #6EBB57 #57A0BB
split-complementary
#A457BB #A0BB57 #57BB72
monochromatic
#5D2C6C #833D97 #A457BB #BC83CD #D3AEDE

Accessibility & contrast

On white

4.51
#A457BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A457BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A457BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A457BB#FFFFFF#000000##000000
##A457BB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BE
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#A46681
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a457bb;
/* rgb */ color: rgb(164, 87, 187);
/* oklch */ color: oklch(58.8% 0.165 318.0);
Tailwind
colors: {
  custom: {
    50: '#c189d0',
    500: '#a457bb',
    950: '#000000',
  },
}
SCSS
$custom: #a457bb;
$custom-light: #c189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a457bb",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 286.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.1653,
    "h": 318
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#A457BB
secondary
#ABCCA2
accent
#D25672
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A457BB

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

Preview Lab → · Contrast checker → · Palette generator →

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