#A27EF8#A27EF8

#A27EF8 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.1% C 0.176 H 294.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A27EF8
RGBrgb(162, 126, 248)
HSLhsl(258, 90%, 73%)
HSVhsv(258, 49%, 97%)
CMYKcmyk(34.7%, 49.2%, 0%, 2.7%)
CIE-LABlab(61.12, 40.10, -56.39)
CIE-LCHlch(61.12, 69.19, 305.42°)
OKLaboklab(68.12% 0.074 -0.1592)
OKLCHoklch(68.12% 0.176 294.9)
XYZxyz(39.3001, 29.3797, 92.3890)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27EF8 #D4F87E
analogous
#7E97F8 #A27EF8 #DF7EF8
triadic
#A27EF8 #F8A27E #7EF8A2
tetradic
#A27EF8 #F87E97 #D4F87E #7EF8DF
square
#A27EF8 #F87E97 #D4F87E #7EF8DF
split-complementary
#A27EF8 #F8DF7E #97F87E
monochromatic
#500DEF #7844F5 #A27EF8 #CCB8FB #EAE2FD

Accessibility & contrast

On white

3.05
#A27EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A27EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27EF8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27EF8#FFFFFF#000000##000000
##A27EF81.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#5892F5
Tritanopia (blue-blind)
#8E96AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a27ef8;
/* rgb */ color: rgb(162, 126, 248);
/* oklch */ color: oklch(68.1% 0.176 294.9);
Tailwind
colors: {
  custom: {
    50: '#c1a4fb',
    500: '#a27ef8',
    950: '#000000',
  },
}
SCSS
$custom: #a27ef8;
$custom-light: #c1a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a27ef8",
  "rgb": {
    "r": 162,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 257.705,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6812,
    "c": 0.17559,
    "h": 294.9
  },
  "luminance": 0.2938
}

Semantic roles & 50–950 ramp

primary
#A27EF8
secondary
#ECF6D5
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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