#A255AA#A255AA

#A255AA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.3% C 0.150 H 323.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A255AA
RGBrgb(162, 85, 170)
HSLhsl(294, 33%, 50%)
HSVhsv(294, 50%, 67%)
CMYKcmyk(4.7%, 50%, 0%, 33.3%)
CIE-LABlab(48.36, 44.65, -32.25)
CIE-LCHlch(48.36, 55.08, 324.16°)
OKLaboklab(57.34% 0.1211 -0.0889)
OKLCHoklch(57.34% 0.15 323.7)
XYZxyz(25.4038, 17.0819, 39.9814)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255AA #5DAA55
analogous
#7855AA #A255AA #AA5587
triadic
#A255AA #AAA255 #55AAA2
tetradic
#A255AA #AA7855 #5DAA55 #5587AA
square
#A255AA #AA7855 #5DAA55 #5587AA
split-complementary
#A255AA #87AA55 #55AA78
monochromatic
#542C58 #7B4181 #A255AA #B87EBE #CFA7D3

Accessibility & contrast

On white

4.76
#A255AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A255AA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255AA#FFFFFF#000000##FFFFFF
##A255AA1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6DAD
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#A55F78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a255aa;
/* rgb */ color: rgb(162, 85, 170);
/* oklch */ color: oklch(57.3% 0.150 323.7);
Tailwind
colors: {
  custom: {
    50: '#bf88c3',
    500: '#a255aa',
    950: '#000000',
  },
}
SCSS
$custom: #a255aa;
$custom-light: #bf88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a255aa",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 294.353,
    "s": 33.333,
    "l": 50
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.15019,
    "h": 323.7
  },
  "luminance": 0.17081
}

Semantic roles & 50–950 ramp

primary
#A255AA
secondary
#9EC09A
accent
#C95E68
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C12
muted
#817D81

Preview Lab

Preview with #A255AA

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

Preview Lab → · Contrast checker → · Palette generator →

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