#A255AF#A255AF

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

Color values

HEX#A255AF
RGBrgb(162, 85, 175)
HSLhsl(291, 36%, 51%)
HSVhsv(291, 51%, 69%)
CMYKcmyk(7.4%, 51.4%, 0%, 31.4%)
CIE-LABlab(48.60, 45.63, -34.80)
CIE-LCHlch(48.60, 57.39, 322.67°)
OKLaboklab(57.59% 0.1218 -0.0962)
OKLCHoklch(57.59% 0.155 321.7)
XYZxyz(25.8858, 17.2747, 42.5199)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255AF #62AF55
analogous
#7555AF #A255AF #AF558F
triadic
#A255AF #AFA255 #55AFA2
tetradic
#A255AF #AF7555 #62AF55 #558FAF
square
#A255AF #AF7555 #62AF55 #558FAF
split-complementary
#A255AF #8FAF55 #55AF75
monochromatic
#562C5E #7D4087 #A255AF #B97FC3 #D0A8D6

Accessibility & contrast

On white

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

On black

4.45
#A255AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A255AF#FFFFFF#000000##FFFFFF
##A255AF1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#A4617A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a255af;
/* rgb */ color: rgb(162, 85, 175);
/* oklch */ color: oklch(57.6% 0.155 321.7);
Tailwind
colors: {
  custom: {
    50: '#bf88c7',
    500: '#a255af',
    950: '#000000',
  },
}
SCSS
$custom: #a255af;
$custom-light: #bf88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a255af",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 291.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.15521,
    "h": 321.7
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#A255AF
secondary
#A2C49C
accent
#CC5C6C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A255AF

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

Preview Lab → · Contrast checker → · Palette generator →

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