#A254BD#A254BD

#A254BD is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.2% C 0.171 H 316.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A254BD
RGBrgb(162, 84, 189)
HSLhsl(285, 44%, 54%)
HSVhsv(285, 56%, 74%)
CMYKcmyk(14.3%, 55.6%, 0%, 25.9%)
CIE-LABlab(49.13, 49.00, -42.13)
CIE-LCHlch(49.13, 64.62, 319.31°)
OKLaboklab(58.21% 0.1245 -0.1175)
OKLCHoklch(58.21% 0.171 316.7)
XYZxyz(27.2546, 17.6971, 50.1145)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254BD #6FBD54
analogous
#6D54BD #A254BD #BD54A4
triadic
#A254BD #BDA254 #54BDA2
tetradic
#A254BD #BD6D54 #6FBD54 #54A4BD
square
#A254BD #BD6D54 #6FBD54 #54A4BD
split-complementary
#A254BD #A4BD54 #54BD6D
monochromatic
#5C2A6D #813B99 #A254BD #BA80CE #D2ACDF

Accessibility & contrast

On white

4.63
#A254BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A254BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A254BD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254BD#FFFFFF#000000##FFFFFF
##A254BD1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C0
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#A16580
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a254bd;
/* rgb */ color: rgb(162, 84, 189);
/* oklch */ color: oklch(58.2% 0.171 316.7);
Tailwind
colors: {
  custom: {
    50: '#c088d1',
    500: '#a254bd',
    950: '#000000',
  },
}
SCSS
$custom: #a254bd;
$custom-light: #c088d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a254bd",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 284.571,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.17121,
    "h": 316.7
  },
  "luminance": 0.17696
}

Semantic roles & 50–950 ramp

primary
#A254BD
secondary
#ABCDA0
accent
#D45475
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A254BD

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

Preview Lab → · Contrast checker → · Palette generator →

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