#A27EFF#A27EFF

#A27EFF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.184 H 293.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A27EFF
RGBrgb(162, 126, 255)
HSLhsl(257, 100%, 75%)
HSVhsv(257, 51%, 100%)
CMYKcmyk(36.5%, 50.6%, 0%, 0%)
CIE-LABlab(61.50, 41.91, -59.62)
CIE-LCHlch(61.50, 72.87, 305.10°)
OKLaboklab(68.53% 0.0745 -0.1687)
OKLCHoklch(68.53% 0.184 293.8)
XYZxyz(40.4064, 29.8222, 98.2157)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27EFF #DBFF7E
analogous
#7E9BFF #A27EFF #E27EFF
triadic
#A27EFF #FFA27E #7EFFA2
tetradic
#A27EFF #FF7E9B #DBFF7E #7EFFE2
square
#A27EFF #FF7E9B #DBFF7E #7EFFE2
split-complementary
#A27EFF #FFE27E #9BFF7E
monochromatic
#4A04FF #7641FF #A27EFF #CEBBFF #E9E0FF

Accessibility & contrast

On white

3.02
#A27EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A27EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27EFF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27EFF#FFFFFF#000000##000000
##A27EFF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5292FC
Tritanopia (blue-blind)
#8B98B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a27eff;
/* rgb */ color: rgb(162, 126, 255);
/* oklch */ color: oklch(68.5% 0.184 293.8);
Tailwind
colors: {
  custom: {
    50: '#c2a4ff',
    500: '#a27eff',
    950: '#000000',
  },
}
SCSS
$custom: #a27eff;
$custom-light: #c2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a27eff",
  "rgb": {
    "r": 162,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 256.744,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68532,
    "c": 0.18446,
    "h": 293.8
  },
  "luminance": 0.29823
}

Semantic roles & 50–950 ramp

primary
#A27EFF
secondary
#EDF7D4
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A27EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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