#A254BB#A254BB

#A254BB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.1% C 0.169 H 317.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A254BB
RGBrgb(162, 84, 187)
HSLhsl(285, 43%, 53%)
HSVhsv(285, 55%, 73%)
CMYKcmyk(13.4%, 55.1%, 0%, 26.7%)
CIE-LABlab(49.02, 48.58, -41.14)
CIE-LCHlch(49.02, 63.66, 319.74°)
OKLaboklab(58.1% 0.1244 -0.1146)
OKLCHoklch(58.1% 0.169 317.3)
XYZxyz(27.0390, 17.6109, 48.9790)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254BB #6DBB54
analogous
#6E54BB #A254BB #BB54A0
triadic
#A254BB #BBA254 #54BBA2
tetradic
#A254BB #BB6E54 #6DBB54 #54A0BB
square
#A254BB #BB6E54 #6DBB54 #54A0BB
split-complementary
#A254BB #A0BB54 #54BB6E
monochromatic
#5B2A6A #803C96 #A254BB #BA80CC #D2ACDE

Accessibility & contrast

On white

4.64
#A254BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A254BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A254BB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254BB#FFFFFF#000000##FFFFFF
##A254BB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBE
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#A1647F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a254bb;
/* rgb */ color: rgb(162, 84, 187);
/* oklch */ color: oklch(58.1% 0.169 317.3);
Tailwind
colors: {
  custom: {
    50: '#c087d0',
    500: '#a254bb',
    950: '#000000',
  },
}
SCSS
$custom: #a254bb;
$custom-light: #c087d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a254bb",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 285.437,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.16914,
    "h": 317.3
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#A254BB
secondary
#AACC9F
accent
#D35574
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A254BB

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

Preview Lab → · Contrast checker → · Palette generator →

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