#A255BD#A255BD

#A255BD is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.4% C 0.170 H 316.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A255BD
RGBrgb(162, 85, 189)
HSLhsl(284, 44%, 54%)
HSVhsv(284, 55%, 74%)
CMYKcmyk(14.3%, 55%, 0%, 25.9%)
CIE-LABlab(49.32, 48.49, -41.83)
CIE-LCHlch(49.32, 64.03, 319.22°)
OKLaboklab(58.35% 0.1232 -0.1166)
OKLCHoklch(58.35% 0.17 316.6)
XYZxyz(27.3327, 17.8534, 50.1405)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255BD #70BD55
analogous
#6E55BD #A255BD #BD55A4
triadic
#A255BD #BDA255 #55BDA2
tetradic
#A255BD #BD6E55 #70BD55 #55A4BD
square
#A255BD #BD6E55 #70BD55 #55A4BD
split-complementary
#A255BD #A4BD55 #55BD6E
monochromatic
#5C2A6D #813C99 #A255BD #BA81CE #D2ADDF

Accessibility & contrast

On white

4.59
#A255BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A255BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A255BD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255BD#FFFFFF#000000##FFFFFF
##A255BD1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70C0
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#A16581
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a255bd;
/* rgb */ color: rgb(162, 85, 189);
/* oklch */ color: oklch(58.4% 0.170 316.6);
Tailwind
colors: {
  custom: {
    50: '#c088d1',
    500: '#a255bd',
    950: '#000000',
  },
}
SCSS
$custom: #a255bd;
$custom-light: #c088d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a255bd",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 284.423,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.16964,
    "h": 316.6
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#A255BD
secondary
#ACCDA1
accent
#D45475
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A255BD

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

Preview Lab → · Contrast checker → · Palette generator →

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