#A154B2#A154B2

#A154B2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.5% C 0.159 H 320.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A154B2
RGBrgb(161, 84, 178)
HSLhsl(289, 38%, 51%)
HSVhsv(289, 53%, 70%)
CMYKcmyk(9.6%, 52.8%, 0%, 30.2%)
CIE-LABlab(48.43, 46.47, -36.84)
CIE-LCHlch(48.43, 59.30, 321.59°)
OKLaboklab(57.48% 0.1223 -0.1022)
OKLCHoklch(57.48% 0.159 320.1)
XYZxyz(25.9032, 17.1331, 44.0534)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154B2 #65B254
analogous
#7254B2 #A154B2 #B25494
triadic
#A154B2 #B2A154 #54B2A1
tetradic
#A154B2 #B27254 #65B254 #5494B2
square
#A154B2 #B27254 #65B254 #5494B2
split-complementary
#A154B2 #94B254 #54B272
monochromatic
#572B60 #7D3E8A #A154B2 #B87EC5 #CFA8D8

Accessibility & contrast

On white

4.74
#A154B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A154B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A154B2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154B2#FFFFFF#000000##FFFFFF
##A154B21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#A2617B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a154b2;
/* rgb */ color: rgb(161, 84, 178);
/* oklch */ color: oklch(57.5% 0.159 320.1);
Tailwind
colors: {
  custom: {
    50: '#bf87c9',
    500: '#a154b2',
    950: '#000000',
  },
}
SCSS
$custom: #a154b2;
$custom-light: #bf87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a154b2",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 289.149,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57483,
    "c": 0.15937,
    "h": 320.1
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#A154B2
secondary
#A4C69C
accent
#CE5A6F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A154B2

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

Preview Lab → · Contrast checker → · Palette generator →

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