#A27DFD#A27DFD

#A27DFD is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.183 H 294.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A27DFD
RGBrgb(162, 125, 253)
HSLhsl(257, 97%, 74%)
HSVhsv(257, 51%, 99%)
CMYKcmyk(36%, 50.6%, 0%, 0.8%)
CIE-LABlab(61.17, 41.95, -59.05)
CIE-LCHlch(61.17, 72.44, 305.39°)
OKLaboklab(68.25% 0.0756 -0.1671)
OKLCHoklch(68.25% 0.183 294.4)
XYZxyz(39.9589, 29.4397, 96.4866)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27DFD #D8FD7D
analogous
#7D98FD #A27DFD #E27DFD
triadic
#A27DFD #FDA27D #7DFDA2
tetradic
#A27DFD #FD7D98 #D8FD7D #7DFDE2
square
#A27DFD #FD7D98 #D8FD7D #7DFDE2
split-complementary
#A27DFD #FDE27D #98FD7D
monochromatic
#4C04FB #7741FC #A27DFD #CDB9FE #E9E1FF

Accessibility & contrast

On white

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

On black

6.89
#A27DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27DFD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27DFD#FFFFFF#000000##000000
##A27DFD1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5292FA
Tritanopia (blue-blind)
#8C97B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a27dfd;
/* rgb */ color: rgb(162, 125, 253);
/* oklch */ color: oklch(68.2% 0.183 294.4);
Tailwind
colors: {
  custom: {
    50: '#c2a3ff',
    500: '#a27dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a27dfd;
$custom-light: #c2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a27dfd",
  "rgb": {
    "r": 162,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 257.344,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68248,
    "c": 0.18338,
    "h": 294.4
  },
  "luminance": 0.2944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A27DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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