#A27DF2#A27DF2

#A27DF2 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.6% C 0.169 H 296.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A27DF2
RGBrgb(162, 125, 242)
HSLhsl(259, 82%, 72%)
HSVhsv(259, 48%, 95%)
CMYKcmyk(33.1%, 48.3%, 0%, 5.1%)
CIE-LABlab(60.57, 39.13, -53.94)
CIE-LCHlch(60.57, 66.65, 305.96°)
OKLaboklab(67.61% 0.0747 -0.1521)
OKLCHoklch(67.61% 0.169 296.2)
XYZxyz(38.2569, 28.7589, 87.5226)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27DF2 #CDF27D
analogous
#7D93F2 #A27DF2 #DC7DF2
triadic
#A27DF2 #F2A27D #7DF2A2
tetradic
#A27DF2 #F27D93 #CDF27D #7DF2DC
square
#A27DF2 #F27D93 #CDF27D #7DF2DC
split-complementary
#A27DF2 #F2DC7D #93F27D
monochromatic
#5616DE #7A45EC #A27DF2 #CAB5F8 #EBE3FC

Accessibility & contrast

On white

3.11
#A27DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A27DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27DF2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27DF2#FFFFFF#000000##000000
##A27DF21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#9093AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a27df2;
/* rgb */ color: rgb(162, 125, 242);
/* oklch */ color: oklch(67.6% 0.169 296.2);
Tailwind
colors: {
  custom: {
    50: '#c1a3f7',
    500: '#a27df2',
    950: '#000000',
  },
}
SCSS
$custom: #a27df2;
$custom-light: #c1a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a27df2",
  "rgb": {
    "r": 162,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 258.974,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67607,
    "c": 0.16945,
    "h": 296.2
  },
  "luminance": 0.28759
}

Semantic roles & 50–950 ramp

primary
#A27DF2
secondary
#EBF4D7
accent
#DE079A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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