#A254B3#A254B3

#A254B3 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.7% C 0.161 H 320.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A254B3
RGBrgb(162, 84, 179)
HSLhsl(289, 38%, 52%)
HSVhsv(289, 53%, 70%)
CMYKcmyk(9.5%, 53.1%, 0%, 29.8%)
CIE-LABlab(48.61, 46.95, -37.13)
CIE-LCHlch(48.61, 59.86, 321.66°)
OKLaboklab(57.66% 0.1236 -0.103)
OKLCHoklch(57.66% 0.161 320.2)
XYZxyz(26.2063, 17.2778, 44.5936)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254B3 #65B354
analogous
#7354B3 #A254B3 #B35495
triadic
#A254B3 #B3A254 #54B3A2
tetradic
#A254B3 #B37354 #65B354 #5495B3
square
#A254B3 #B37354 #65B354 #5495B3
split-complementary
#A254B3 #95B354 #54B373
monochromatic
#582B61 #7E3E8C #A254B3 #B97EC6 #D0A9D9

Accessibility & contrast

On white

4.71
#A254B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A254B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A254B3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254B3#FFFFFF#000000##FFFFFF
##A254B31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#A3617C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a254b3;
/* rgb */ color: rgb(162, 84, 179);
/* oklch */ color: oklch(57.7% 0.161 320.2);
Tailwind
colors: {
  custom: {
    50: '#c087ca',
    500: '#a254b3',
    950: '#000000',
  },
}
SCSS
$custom: #a254b3;
$custom-light: #c087ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a254b3",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 289.263,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.16091,
    "h": 320.2
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#A254B3
secondary
#A4C69D
accent
#CE596E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A254B3

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

Preview Lab → · Contrast checker → · Palette generator →

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