#A27EA2#A27EA2

#A27EA2 is a light, moderate purple. Relative luminance 0.252; OKLCH L 64.0% C 0.067 H 326.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A27EA2
RGBrgb(162, 126, 162)
HSLhsl(300, 16%, 56%)
HSVhsv(300, 22%, 64%)
CMYKcmyk(0%, 22.2%, 0%, 36.5%)
CIE-LABlab(57.28, 20.28, -13.87)
CIE-LCHlch(57.28, 24.57, 325.63°)
OKLaboklab(63.96% 0.056 -0.0373)
OKLCHoklch(63.96% 0.067 326.3)
XYZxyz(28.8820, 25.2125, 37.5205)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27EA2 #7EA27E
analogous
#907EA2 #A27EA2 #A27E90
triadic
#A27EA2 #A2A27E #7EA2A2
tetradic
#A27EA2 #A2907E #7EA27E #7E90A2
square
#A27EA2 #A2907E #7EA27E #7E90A2
split-complementary
#A27EA2 #90A27E #7EA290
monochromatic
#604560 #845F84 #A27EA2 #BCA2BC #D5C5D5

Accessibility & contrast

On white

3.48
#A27EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A27EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27EA2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27EA2#FFFFFF#000000##000000
##A27EA21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C87A3
Deuteranopia (green-blind)
#848BA1
Tritanopia (blue-blind)
#A4818A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a27ea2;
/* rgb */ color: rgb(162, 126, 162);
/* oklch */ color: oklch(64.0% 0.067 326.3);
Tailwind
colors: {
  custom: {
    50: '#bea3bd',
    500: '#a27ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a27ea2;
$custom-light: #bea3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a27ea2",
  "rgb": {
    "r": 162,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63963,
    "c": 0.06725,
    "h": 326.3
  },
  "luminance": 0.25212
}

Semantic roles & 50–950 ramp

primary
#A27EA2
secondary
#B7C5B7
accent
#B96F6F
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#120F12
muted
#817F81

Preview Lab

Preview with #A27EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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