#A27CF2#A27CF2

#A27CF2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.171 H 296.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A27CF2
RGBrgb(162, 124, 242)
HSLhsl(259, 82%, 72%)
HSVhsv(259, 49%, 95%)
CMYKcmyk(33.1%, 48.8%, 0%, 5.1%)
CIE-LABlab(60.34, 39.70, -54.30)
CIE-LCHlch(60.34, 67.26, 306.17°)
OKLaboklab(67.44% 0.076 -0.1531)
OKLCHoklch(67.44% 0.171 296.4)
XYZxyz(38.1310, 28.5069, 87.4806)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27CF2 #CCF27C
analogous
#7C91F2 #A27CF2 #DD7CF2
triadic
#A27CF2 #F2A27C #7CF2A2
tetradic
#A27CF2 #F27C91 #CCF27C #7CF2DD
square
#A27CF2 #F27C91 #CCF27C #7CF2DD
split-complementary
#A27CF2 #F2DD7C #91F27C
monochromatic
#5616DE #7A44EC #A27CF2 #CAB4F8 #EBE3FC

Accessibility & contrast

On white

3.13
#A27CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A27CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27CF2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27CF2#FFFFFF#000000##000000
##A27CF21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#9093AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a27cf2;
/* rgb */ color: rgb(162, 124, 242);
/* oklch */ color: oklch(67.4% 0.171 296.4);
Tailwind
colors: {
  custom: {
    50: '#c1a2f7',
    500: '#a27cf2',
    950: '#000000',
  },
}
SCSS
$custom: #a27cf2;
$custom-light: #c1a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a27cf2",
  "rgb": {
    "r": 162,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 259.322,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67439,
    "c": 0.17095,
    "h": 296.4
  },
  "luminance": 0.28507
}

Semantic roles & 50–950 ramp

primary
#A27CF2
secondary
#EAF4D6
accent
#DE0799
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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