#A27BEE#A27BEE

#A27BEE is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.167 H 297.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A27BEE
RGBrgb(162, 123, 238)
HSLhsl(260, 77%, 71%)
HSVhsv(260, 48%, 93%)
CMYKcmyk(31.9%, 48.3%, 0%, 6.7%)
CIE-LABlab(59.91, 39.25, -52.78)
CIE-LCHlch(59.91, 65.77, 306.64°)
OKLaboklab(67.04% 0.0769 -0.1487)
OKLCHoklch(67.04% 0.167 297.3)
XYZxyz(37.4121, 28.0199, 84.3097)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27BEE #C7EE7B
analogous
#7B8DEE #A27BEE #DB7BEE
triadic
#A27BEE #EEA27B #7BEEA2
tetradic
#A27BEE #EE7B8D #C7EE7B #7BEEDB
square
#A27BEE #EE7B8D #C7EE7B #7BEEDB
split-complementary
#A27BEE #EEDB7B #8DEE7B
monochromatic
#5A1BD3 #7C45E7 #A27BEE #C8B1F5 #ECE4FC

Accessibility & contrast

On white

3.18
#A27BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A27BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27BEE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27BEE#FFFFFF#000000##000000
##A27BEE1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#9291A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a27bee;
/* rgb */ color: rgb(162, 123, 238);
/* oklch */ color: oklch(67.0% 0.167 297.3);
Tailwind
colors: {
  custom: {
    50: '#c1a2f4',
    500: '#a27bee',
    950: '#000000',
  },
}
SCSS
$custom: #a27bee;
$custom-light: #c1a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a27bee",
  "rgb": {
    "r": 162,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 260.348,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67043,
    "c": 0.16739,
    "h": 297.3
  },
  "luminance": 0.2802
}

Semantic roles & 50–950 ramp

primary
#A27BEE
secondary
#E7F2D3
accent
#D90C94
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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