#A27DF5#A27DF5

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

Color values

HEX#A27DF5
RGBrgb(162, 125, 245)
HSLhsl(259, 86%, 73%)
HSVhsv(259, 49%, 96%)
CMYKcmyk(33.9%, 49%, 0%, 3.9%)
CIE-LABlab(60.73, 39.90, -55.35)
CIE-LCHlch(60.73, 68.23, 305.79°)
OKLaboklab(67.78% 0.075 -0.1562)
OKLCHoklch(67.78% 0.173 295.6)
XYZxyz(38.7112, 28.9406, 89.9151)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27DF5 #D0F57D
analogous
#7D94F5 #A27DF5 #DE7DF5
triadic
#A27DF5 #F5A27D #7DF5A2
tetradic
#A27DF5 #F57D94 #D0F57D #7DF5DE
square
#A27DF5 #F57D94 #D0F57D #7DF5DE
split-complementary
#A27DF5 #F5DE7D #94F57D
monochromatic
#5312E6 #7944F1 #A27DF5 #CBB6F9 #EBE3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A27DF5#FFFFFF#000000##000000
##A27DF51.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)
#5293F9
Deuteranopia (green-blind)
#5991F2
Tritanopia (blue-blind)
#8F94AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a27df5;
/* rgb */ color: rgb(162, 125, 245);
/* oklch */ color: oklch(67.8% 0.173 295.6);
Tailwind
colors: {
  custom: {
    50: '#c1a3f9',
    500: '#a27df5',
    950: '#000000',
  },
}
SCSS
$custom: #a27df5;
$custom-light: #c1a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a27df5",
  "rgb": {
    "r": 162,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 258.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67779,
    "c": 0.17326,
    "h": 295.6
  },
  "luminance": 0.28941
}

Semantic roles & 50–950 ramp

primary
#A27DF5
secondary
#EBF5D6
accent
#E2039D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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