#A27FFD#A27FFD

#A27FFD is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.180 H 293.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A27FFD
RGBrgb(162, 127, 253)
HSLhsl(257, 97%, 75%)
HSVhsv(257, 50%, 99%)
CMYKcmyk(36%, 49.8%, 0%, 0.8%)
CIE-LABlab(61.61, 40.83, -58.34)
CIE-LCHlch(61.61, 71.21, 304.98°)
OKLaboklab(68.58% 0.0732 -0.165)
OKLCHoklch(68.58% 0.18 293.9)
XYZxyz(40.2147, 29.9511, 96.5718)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27FFD #DAFD7F
analogous
#7F9BFD #A27FFD #E17FFD
triadic
#A27FFD #FDA27F #7FFDA2
tetradic
#A27FFD #FD7F9B #DAFD7F #7FFDE1
square
#A27FFD #FD7F9B #DAFD7F #7FFDE1
split-complementary
#A27FFD #FDE17F #9BFD7F
monochromatic
#4A06FB #7643FC #A27FFD #CEBBFE #E9E1FF

Accessibility & contrast

On white

3.00
#A27FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A27FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27FFD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27FFD#FFFFFF#000000##000000
##A27FFD1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#5593FA
Tritanopia (blue-blind)
#8C98B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a27ffd;
/* rgb */ color: rgb(162, 127, 253);
/* oklch */ color: oklch(68.6% 0.180 293.9);
Tailwind
colors: {
  custom: {
    50: '#c1a5ff',
    500: '#a27ffd',
    950: '#000000',
  },
}
SCSS
$custom: #a27ffd;
$custom-light: #c1a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a27ffd",
  "rgb": {
    "r": 162,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 256.667,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68579,
    "c": 0.18047,
    "h": 293.9
  },
  "luminance": 0.29952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A27FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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