#A27CED#A27CED

#A27CED is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.165 H 297.3°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A27CED
RGBrgb(162, 124, 237)
HSLhsl(260, 76%, 71%)
HSVhsv(260, 48%, 93%)
CMYKcmyk(31.6%, 47.7%, 0%, 7.1%)
CIE-LABlab(60.08, 38.44, -51.95)
CIE-LCHlch(60.08, 64.63, 306.50°)
OKLaboklab(67.16% 0.0755 -0.1463)
OKLCHoklch(67.16% 0.165 297.3)
XYZxyz(37.3903, 28.2107, 83.5796)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27CED #C7ED7C
analogous
#7C8EED #A27CED #DA7CED
triadic
#A27CED #EDA27C #7CEDA2
tetradic
#A27CED #ED7C8E #C7ED7C #7CEDDA
square
#A27CED #ED7C8E #C7ED7C #7CEDDA
split-complementary
#A27CED #EDDA7C #8EED7C
monochromatic
#5A1DD2 #7C46E6 #A27CED #C8B2F4 #ECE4FB

Accessibility & contrast

On white

3.16
#A27CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A27CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27CED
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27CED#FFFFFF#000000##000000
##A27CED1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#5E90EA
Tritanopia (blue-blind)
#9291A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a27ced;
/* rgb */ color: rgb(162, 124, 237);
/* oklch */ color: oklch(67.2% 0.165 297.3);
Tailwind
colors: {
  custom: {
    50: '#c0a2f3',
    500: '#a27ced',
    950: '#000000',
  },
}
SCSS
$custom: #a27ced;
$custom-light: #c0a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a27ced",
  "rgb": {
    "r": 162,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 260.177,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67155,
    "c": 0.1646,
    "h": 297.3
  },
  "luminance": 0.28211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A27CED

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

Preview Lab → · Contrast checker → · Palette generator →

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