#A271EE#A271EE

#A271EE is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.4% C 0.182 H 299.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A271EE
RGBrgb(162, 113, 238)
HSLhsl(264, 79%, 69%)
HSVhsv(264, 53%, 93%)
CMYKcmyk(31.9%, 52.5%, 0%, 6.7%)
CIE-LABlab(57.72, 44.80, -56.27)
CIE-LCHlch(57.72, 71.93, 308.53°)
OKLaboklab(65.41% 0.0896 -0.1589)
OKLCHoklch(65.41% 0.182 299.4)
XYZxyz(36.2343, 25.6644, 83.9171)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A271EE #BDEE71
analogous
#717FEE #A271EE #E171EE
triadic
#A271EE #EEA271 #71EEA2
tetradic
#A271EE #EE717F #BDEE71 #71EEE1
square
#A271EE #EE717F #BDEE71 #71EEE1
split-complementary
#A271EE #EEE171 #7FEE71
monochromatic
#5F18CC #7E3AE7 #A271EE #C6A8F5 #EADEFB

Accessibility & contrast

On white

3.42
#A271EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A271EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A271EE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A271EE#FFFFFF#000000##000000
##A271EE1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#9289A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a271ee;
/* rgb */ color: rgb(162, 113, 238);
/* oklch */ color: oklch(65.4% 0.182 299.4);
Tailwind
colors: {
  custom: {
    50: '#c19bf4',
    500: '#a271ee',
    950: '#000000',
  },
}
SCSS
$custom: #a271ee;
$custom-light: #c19bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a271ee",
  "rgb": {
    "r": 162,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 263.52,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65414,
    "c": 0.18244,
    "h": 299.4
  },
  "luminance": 0.25665
}

Semantic roles & 50–950 ramp

primary
#A271EE
secondary
#E1F0CB
accent
#DB0B89
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A271EE

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

Preview Lab → · Contrast checker → · Palette generator →

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