#A255B7#A255B7

#A255B7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.0% C 0.163 H 318.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A255B7
RGBrgb(162, 85, 183)
HSLhsl(287, 40%, 53%)
HSVhsv(287, 54%, 72%)
CMYKcmyk(11.5%, 53.6%, 0%, 28.2%)
CIE-LABlab(49.01, 47.25, -38.84)
CIE-LCHlch(49.01, 61.16, 320.58°)
OKLaboklab(58.02% 0.1227 -0.1079)
OKLCHoklch(58.02% 0.163 318.7)
XYZxyz(26.6949, 17.5983, 46.7812)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255B7 #6AB755
analogous
#7155B7 #A255B7 #B7559B
triadic
#A255B7 #B7A255 #55B7A2
tetradic
#A255B7 #B77155 #6AB755 #559BB7
square
#A255B7 #B77155 #6AB755 #559BB7
split-complementary
#A255B7 #9BB755 #55B771
monochromatic
#5A2B66 #7F3E91 #A255B7 #BA80C9 #D1ABDB

Accessibility & contrast

On white

4.65
#A255B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A255B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A255B7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255B7#FFFFFF#000000##FFFFFF
##A255B71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416FBA
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#A2647E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a255b7;
/* rgb */ color: rgb(162, 85, 183);
/* oklch */ color: oklch(58.0% 0.163 318.7);
Tailwind
colors: {
  custom: {
    50: '#c088cd',
    500: '#a255b7',
    950: '#000000',
  },
}
SCSS
$custom: #a255b7;
$custom-light: #c088cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a255b7",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 287.143,
    "s": 40.496,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.1634,
    "h": 318.7
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#A255B7
secondary
#A8C99F
accent
#D05771
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #A255B7

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

Preview Lab → · Contrast checker → · Palette generator →

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