#A257BB#A257BB

#A257BB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.5% C 0.164 H 317.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A257BB
RGBrgb(162, 87, 187)
HSLhsl(285, 42%, 54%)
HSVhsv(285, 53%, 73%)
CMYKcmyk(13.4%, 53.5%, 0%, 26.7%)
CIE-LABlab(49.60, 47.04, -40.22)
CIE-LCHlch(49.60, 61.89, 319.47°)
OKLaboklab(58.53% 0.1203 -0.112)
OKLCHoklch(58.53% 0.164 317.1)
XYZxyz(27.2768, 18.0866, 49.0583)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257BB #70BB57
analogous
#7057BB #A257BB #BB57A2
triadic
#A257BB #BBA257 #57BBA2
tetradic
#A257BB #BB7057 #70BB57 #57A2BB
square
#A257BB #BB7057 #70BB57 #57A2BB
split-complementary
#A257BB #A2BB57 #57BB70
monochromatic
#5C2C6C #813D97 #A257BB #BA83CD #D2AEDE

Accessibility & contrast

On white

4.55
#A257BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A257BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257BB#FFFFFF#000000##000000
##A257BB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#A16681
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a257bb;
/* rgb */ color: rgb(162, 87, 187);
/* oklch */ color: oklch(58.5% 0.164 317.1);
Tailwind
colors: {
  custom: {
    50: '#c089d0',
    500: '#a257bb',
    950: '#000000',
  },
}
SCSS
$custom: #a257bb;
$custom-light: #c089d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a257bb",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.16435,
    "h": 317.1
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

primary
#A257BB
secondary
#ACCCA2
accent
#D25675
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A257BB

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

Preview Lab → · Contrast checker → · Palette generator →

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