#A27BFD#A27BFD

#A27BFD is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.186 H 294.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A27BFD
RGBrgb(162, 123, 253)
HSLhsl(258, 97%, 74%)
HSVhsv(258, 51%, 99%)
CMYKcmyk(36%, 51.4%, 0%, 0.8%)
CIE-LABlab(60.73, 43.06, -59.76)
CIE-LCHlch(60.73, 73.66, 305.78°)
OKLaboklab(67.92% 0.0781 -0.1691)
OKLCHoklch(67.92% 0.186 294.8)
XYZxyz(39.7083, 28.9384, 96.4030)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27BFD #D6FD7B
analogous
#7B95FD #A27BFD #E37BFD
triadic
#A27BFD #FDA27B #7BFDA2
tetradic
#A27BFD #FD7B95 #D6FD7B #7BFDE3
square
#A27BFD #FD7B95 #D6FD7B #7BFDE3
split-complementary
#A27BFD #FDE37B #95FD7B
monochromatic
#4E04FA #783FFC #A27BFD #CCB7FE #EAE1FF

Accessibility & contrast

On white

3.09
#A27BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A27BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27BFD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27BFD#FFFFFF#000000##000000
##A27BFD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5090FA
Tritanopia (blue-blind)
#8C95B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a27bfd;
/* rgb */ color: rgb(162, 123, 253);
/* oklch */ color: oklch(67.9% 0.186 294.8);
Tailwind
colors: {
  custom: {
    50: '#c2a2ff',
    500: '#a27bfd',
    950: '#000000',
  },
}
SCSS
$custom: #a27bfd;
$custom-light: #c2a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a27bfd",
  "rgb": {
    "r": 162,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 258,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6792,
    "c": 0.18628,
    "h": 294.8
  },
  "luminance": 0.28939
}

Semantic roles & 50–950 ramp

primary
#A27BFD
secondary
#ECF7D4
accent
#E600A1
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A27BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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