#A27DE7#A27DE7

#A27DE7 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.0% C 0.155 H 298.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A27DE7
RGBrgb(162, 125, 231)
HSLhsl(261, 69%, 70%)
HSVhsv(261, 46%, 91%)
CMYKcmyk(29.9%, 45.9%, 0%, 9.4%)
CIE-LABlab(59.99, 36.38, -48.75)
CIE-LCHlch(59.99, 60.83, 306.73°)
OKLaboklab(66.99% 0.0734 -0.1369)
OKLCHoklch(66.99% 0.155 298.2)
XYZxyz(36.6543, 28.1178, 79.0820)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27DE7 #C2E77D
analogous
#7D8DE7 #A27DE7 #D77DE7
triadic
#A27DE7 #E7A27D #7DE7A2
tetradic
#A27DE7 #E77D8D #C2E77D #7DE7D7
square
#A27DE7 #E77D8D #C2E77D #7DE7D7
split-complementary
#A27DE7 #E7D77D #8DE77D
monochromatic
#5D24C5 #7D49DD #A27DE7 #C7B1F1 #ECE4FA

Accessibility & contrast

On white

3.17
#A27DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#A27DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27DE7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27DE7#FFFFFF#000000##000000
##A27DE71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#9490A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a27de7;
/* rgb */ color: rgb(162, 125, 231);
/* oklch */ color: oklch(67.0% 0.155 298.2);
Tailwind
colors: {
  custom: {
    50: '#c0a3ef',
    500: '#a27de7',
    950: '#000000',
  },
}
SCSS
$custom: #a27de7;
$custom-light: #c0a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a27de7",
  "rgb": {
    "r": 162,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 260.943,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.15538,
    "h": 298.2
  },
  "luminance": 0.28118
}

Semantic roles & 50–950 ramp

primary
#A27DE7
secondary
#E4EFD1
accent
#D1158F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A27DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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