#A255B2#A255B2

#A255B2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.8% C 0.158 H 320.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A255B2
RGBrgb(162, 85, 178)
HSLhsl(290, 38%, 52%)
HSVhsv(290, 52%, 70%)
CMYKcmyk(9%, 52.2%, 0%, 30.2%)
CIE-LABlab(48.75, 46.23, -36.32)
CIE-LCHlch(48.75, 58.79, 321.85°)
OKLaboklab(57.75% 0.1221 -0.1006)
OKLCHoklch(57.75% 0.158 320.5)
XYZxyz(26.1837, 17.3938, 44.0890)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255B2 #65B255
analogous
#7455B2 #A255B2 #B25594
triadic
#A255B2 #B2A255 #55B2A2
tetradic
#A255B2 #B27455 #65B255 #5594B2
square
#A255B2 #B27455 #65B255 #5594B2
split-complementary
#A255B2 #94B255 #55B274
monochromatic
#582C61 #7E3F8B #A255B2 #B97FC5 #D0A9D8

Accessibility & contrast

On white

4.69
#A255B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A255B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A255B2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255B2#FFFFFF#000000##FFFFFF
##A255B21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#A3627C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a255b2;
/* rgb */ color: rgb(162, 85, 178);
/* oklch */ color: oklch(57.8% 0.158 320.5);
Tailwind
colors: {
  custom: {
    50: '#c088c9',
    500: '#a255b2',
    950: '#000000',
  },
}
SCSS
$custom: #a255b2;
$custom-light: #c088c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a255b2",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 289.677,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.15825,
    "h": 320.5
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#A255B2
secondary
#A4C69D
accent
#CE5A6E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A255B2

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

Preview Lab → · Contrast checker → · Palette generator →

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