#A254AF#A254AF

#A254AF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.4% C 0.157 H 321.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A254AF
RGBrgb(162, 84, 175)
HSLhsl(291, 36%, 51%)
HSVhsv(291, 52%, 69%)
CMYKcmyk(7.4%, 52%, 0%, 31.4%)
CIE-LABlab(48.41, 46.15, -35.11)
CIE-LCHlch(48.41, 57.98, 322.74°)
OKLaboklab(57.45% 0.1232 -0.0971)
OKLCHoklch(57.45% 0.157 321.7)
XYZxyz(25.8076, 17.1183, 42.4939)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254AF #61AF54
analogous
#7454AF #A254AF #AF548E
triadic
#A254AF #AFA254 #54AFA2
tetradic
#A254AF #AF7454 #61AF54 #548EAF
square
#A254AF #AF7454 #61AF54 #548EAF
split-complementary
#A254AF #8EAF54 #54AF74
monochromatic
#562C5D #7D3F87 #A254AF #B97EC3 #CFA7D6

Accessibility & contrast

On white

4.75
#A254AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A254AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A254AF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254AF#FFFFFF#000000##FFFFFF
##A254AF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466DB2
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#A4607A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a254af;
/* rgb */ color: rgb(162, 84, 175);
/* oklch */ color: oklch(57.4% 0.157 321.7);
Tailwind
colors: {
  custom: {
    50: '#c087c7',
    500: '#a254af',
    950: '#000000',
  },
}
SCSS
$custom: #a254af;
$custom-light: #c087c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a254af",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 291.429,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.15686,
    "h": 321.7
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#A254AF
secondary
#A1C49B
accent
#CC5C6C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A254AF

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

Preview Lab → · Contrast checker → · Palette generator →

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