#A257BA#A257BA

#A257BA is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.5% C 0.163 H 317.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A257BA
RGBrgb(162, 87, 186)
HSLhsl(285, 42%, 54%)
HSVhsv(285, 53%, 73%)
CMYKcmyk(12.9%, 53.2%, 0%, 27.1%)
CIE-LABlab(49.55, 46.83, -39.72)
CIE-LCHlch(49.55, 61.41, 319.70°)
OKLaboklab(58.47% 0.1202 -0.1105)
OKLCHoklch(58.47% 0.163 317.4)
XYZxyz(27.1702, 18.0439, 48.4964)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257BA #6FBA57
analogous
#7057BA #A257BA #BA57A0
triadic
#A257BA #BAA257 #57BAA2
tetradic
#A257BA #BA7057 #6FBA57 #57A0BA
square
#A257BA #BA7057 #6FBA57 #57A0BA
split-complementary
#A257BA #A0BA57 #57BA70
monochromatic
#5C2C6B #813E96 #A257BA #BA82CC #D2AEDE

Accessibility & contrast

On white

4.56
#A257BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A257BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257BA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257BA#FFFFFF#000000##000000
##A257BA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#A16680
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a257ba;
/* rgb */ color: rgb(162, 87, 186);
/* oklch */ color: oklch(58.5% 0.163 317.4);
Tailwind
colors: {
  custom: {
    50: '#c089cf',
    500: '#a257ba',
    950: '#000000',
  },
}
SCSS
$custom: #a257ba;
$custom-light: #c089cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a257ba",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 285.455,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.1633,
    "h": 317.4
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#A257BA
secondary
#ABCCA1
accent
#D25674
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A257BA

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

Preview Lab → · Contrast checker → · Palette generator →

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