#A27CFA#A27CFA

#A27CFA is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.181 H 295.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A27CFA
RGBrgb(162, 124, 250)
HSLhsl(258, 93%, 73%)
HSVhsv(258, 50%, 98%)
CMYKcmyk(35.2%, 50.4%, 0%, 2%)
CIE-LABlab(60.78, 41.73, -58.02)
CIE-LCHlch(60.78, 71.47, 305.73°)
OKLaboklab(67.91% 0.0766 -0.164)
OKLCHoklch(67.91% 0.181 295)
XYZxyz(39.3588, 28.9981, 93.9475)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27CFA #D4FA7C
analogous
#7C95FA #A27CFA #E17CFA
triadic
#A27CFA #FAA27C #7CFAA2
tetradic
#A27CFA #FA7C95 #D4FA7C #7CFAE1
square
#A27CFA #FA7C95 #D4FA7C #7CFAE1
split-complementary
#A27CFA #FAE17C #95FA7C
monochromatic
#5009F2 #7841F8 #A27CFA #CCB7FC #EAE2FE

Accessibility & contrast

On white

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

On black

6.80
#A27CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27CFA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27CFA#FFFFFF#000000##000000
##A27CFA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#8D95B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a27cfa;
/* rgb */ color: rgb(162, 124, 250);
/* oklch */ color: oklch(67.9% 0.181 295.0);
Tailwind
colors: {
  custom: {
    50: '#c1a3fc',
    500: '#a27cfa',
    950: '#000000',
  },
}
SCSS
$custom: #a27cfa;
$custom-light: #c1a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a27cfa",
  "rgb": {
    "r": 162,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 258.095,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67905,
    "c": 0.18106,
    "h": 295
  },
  "luminance": 0.28999
}

Semantic roles & 50–950 ramp

primary
#A27CFA
secondary
#ECF6D5
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A27CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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