#A254BE#A254BE

#A254BE is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.172 H 316.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A254BE
RGBrgb(162, 84, 190)
HSLhsl(284, 45%, 54%)
HSVhsv(284, 56%, 75%)
CMYKcmyk(14.7%, 55.8%, 0%, 25.5%)
CIE-LABlab(49.18, 49.20, -42.63)
CIE-LCHlch(49.18, 65.10, 319.10°)
OKLaboklab(58.27% 0.1246 -0.1189)
OKLCHoklch(58.27% 0.172 316.3)
XYZxyz(27.3635, 17.7407, 50.6881)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254BE #70BE54
analogous
#6D54BE #A254BE #BE54A5
triadic
#A254BE #BEA254 #54BEA2
tetradic
#A254BE #BE6D54 #70BE54 #54A5BE
square
#A254BE #BE6D54 #70BE54 #54A5BE
split-complementary
#A254BE #A5BE54 #54BE6D
monochromatic
#5C2A6E #813B9A #A254BE #BA80CF #D2ADE0

Accessibility & contrast

On white

4.62
#A254BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A254BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A254BE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254BE#FFFFFF#000000##FFFFFF
##A254BE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#A16581
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a254be;
/* rgb */ color: rgb(162, 84, 190);
/* oklch */ color: oklch(58.3% 0.172 316.3);
Tailwind
colors: {
  custom: {
    50: '#c088d2',
    500: '#a254be',
    950: '#000000',
  },
}
SCSS
$custom: #a254be;
$custom-light: #c088d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a254be",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 284.151,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.17226,
    "h": 316.3
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#A254BE
secondary
#ACCEA0
accent
#D55375
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A254BE

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

Preview Lab → · Contrast checker → · Palette generator →

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