#A27FF2#A27FF2

#A27FF2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.9% C 0.166 H 295.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A27FF2
RGBrgb(162, 127, 242)
HSLhsl(258, 82%, 72%)
HSVhsv(258, 48%, 95%)
CMYKcmyk(33.1%, 47.5%, 0%, 5.1%)
CIE-LABlab(61.02, 38.01, -53.23)
CIE-LCHlch(61.02, 65.41, 305.53°)
OKLaboklab(67.94% 0.0721 -0.15)
OKLCHoklch(67.94% 0.166 295.7)
XYZxyz(38.5127, 29.2703, 87.6079)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27FF2 #CFF27F
analogous
#7F96F2 #A27FF2 #DC7FF2
triadic
#A27FF2 #F2A27F #7FF2A2
tetradic
#A27FF2 #F27F96 #CFF27F #7FF2DC
square
#A27FF2 #F27F96 #CFF27F #7FF2DC
split-complementary
#A27FF2 #F2DC7F #96F27F
monochromatic
#5417E0 #7A47EC #A27FF2 #CAB7F8 #EBE3FC

Accessibility & contrast

On white

3.06
#A27FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#A27FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27FF2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27FF2#FFFFFF#000000##000000
##A27FF21.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#5E92EF
Tritanopia (blue-blind)
#9095AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a27ff2;
/* rgb */ color: rgb(162, 127, 242);
/* oklch */ color: oklch(67.9% 0.166 295.7);
Tailwind
colors: {
  custom: {
    50: '#c1a5f7',
    500: '#a27ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a27ff2;
$custom-light: #c1a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a27ff2",
  "rgb": {
    "r": 162,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 258.261,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67944,
    "c": 0.16644,
    "h": 295.7
  },
  "luminance": 0.29271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A27FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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