#A255BC#A255BC

#A255BC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.3% C 0.169 H 316.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A255BC
RGBrgb(162, 85, 188)
HSLhsl(285, 43%, 54%)
HSVhsv(285, 55%, 74%)
CMYKcmyk(13.8%, 54.8%, 0%, 26.3%)
CIE-LABlab(49.27, 48.28, -41.33)
CIE-LCHlch(49.27, 63.55, 319.43°)
OKLaboklab(58.29% 0.1231 -0.1152)
OKLCHoklch(58.29% 0.169 316.9)
XYZxyz(27.2246, 17.8102, 49.5708)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255BC #6FBC55
analogous
#6E55BC #A255BC #BC55A2
triadic
#A255BC #BCA255 #55BCA2
tetradic
#A255BC #BC6E55 #6FBC55 #55A2BC
square
#A255BC #BC6E55 #6FBC55 #55A2BC
split-complementary
#A255BC #A2BC55 #55BC6E
monochromatic
#5C2B6C #813C98 #A255BC #BA81CD #D2ADDF

Accessibility & contrast

On white

4.60
#A255BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A255BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A255BC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255BC#FFFFFF#000000##FFFFFF
##A255BC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#A16580
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a255bc;
/* rgb */ color: rgb(162, 85, 188);
/* oklch */ color: oklch(58.3% 0.169 316.9);
Tailwind
colors: {
  custom: {
    50: '#c088d0',
    500: '#a255bc',
    950: '#000000',
  },
}
SCSS
$custom: #a255bc;
$custom-light: #c088d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a255bc",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 284.854,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.1686,
    "h": 316.9
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#A255BC
secondary
#ABCCA0
accent
#D35575
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A255BC

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

Preview Lab → · Contrast checker → · Palette generator →

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