#A254BF#A254BF

#A254BF is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.3% C 0.173 H 316.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A254BF
RGBrgb(162, 84, 191)
HSLhsl(284, 46%, 54%)
HSVhsv(284, 56%, 75%)
CMYKcmyk(15.2%, 56%, 0%, 25.1%)
CIE-LABlab(49.23, 49.41, -43.12)
CIE-LCHlch(49.23, 65.58, 318.89°)
OKLaboklab(58.32% 0.1247 -0.1204)
OKLCHoklch(58.32% 0.173 316)
XYZxyz(27.4732, 17.7845, 51.2657)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254BF #71BF54
analogous
#6D54BF #A254BF #BF54A7
triadic
#A254BF #BFA254 #54BFA2
tetradic
#A254BF #BF6D54 #71BF54 #54A7BF
square
#A254BF #BF6D54 #71BF54 #54A7BF
split-complementary
#A254BF #A7BF54 #54BF6D
monochromatic
#5C2A6F #813A9C #A254BF #BA81D0 #D2ADE0

Accessibility & contrast

On white

4.61
#A254BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A254BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A254BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254BF#FFFFFF#000000##FFFFFF
##A254BF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#A06581
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a254bf;
/* rgb */ color: rgb(162, 84, 191);
/* oklch */ color: oklch(58.3% 0.173 316.0);
Tailwind
colors: {
  custom: {
    50: '#c088d3',
    500: '#a254bf',
    950: '#000000',
  },
}
SCSS
$custom: #a254bf;
$custom-light: #c088d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a254bf",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 283.738,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.1733,
    "h": 316
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#A254BF
secondary
#ADCEA1
accent
#D55376
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A254BF

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

Preview Lab → · Contrast checker → · Palette generator →

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