#A227D0#A227D0

#A227D0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.8% C 0.243 H 314.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A227D0
RGBrgb(162, 39, 208)
HSLhsl(284, 68%, 48%)
HSVhsv(284, 81%, 82%)
CMYKcmyk(22.1%, 81.3%, 0%, 18.4%)
CIE-LABlab(43.78, 71.04, -61.70)
CIE-LCHlch(43.78, 94.09, 319.03°)
OKLaboklab(54.75% 0.1698 -0.1745)
OKLCHoklch(54.75% 0.243 314.2)
XYZxyz(27.0090, 13.6874, 60.8815)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A227D0 #55D027
analogous
#4E27D0 #A227D0 #D027A9
triadic
#A227D0 #D0A227 #27D0A2
tetradic
#A227D0 #D04E27 #55D027 #27A9D0
square
#A227D0 #D04E27 #55D027 #27A9D0
split-complementary
#A227D0 #A9D027 #27D04E
monochromatic
#521469 #7A1D9C #A227D0 #BA55DF #CF89E9

Accessibility & contrast

On white

5.62
#A227D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A227D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A227D0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A227D0#FFFFFF#000000##FFFFFF
##A227D01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#136ACD
Tritanopia (blue-blind)
#9D527E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a227d0;
/* rgb */ color: rgb(162, 39, 208);
/* oklch */ color: oklch(54.8% 0.243 314.2);
Tailwind
colors: {
  custom: {
    50: '#c372df',
    500: '#a227d0',
    950: '#000000',
  },
}
SCSS
$custom: #a227d0;
$custom-light: #c372df;
$custom-dark: #000000;
JSON
{
  "hex": "#a227d0",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 283.669,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.24349,
    "h": 314.2
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#A227D0
secondary
#97D280
accent
#EB3D6C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A227D0

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

Preview Lab → · Contrast checker → · Palette generator →

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