#A27BF7#A27BF7

#A27BF7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.179 H 295.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A27BF7
RGBrgb(162, 123, 247)
HSLhsl(259, 89%, 73%)
HSVhsv(259, 50%, 97%)
CMYKcmyk(34.4%, 50.2%, 0%, 3.1%)
CIE-LABlab(60.39, 41.52, -56.99)
CIE-LCHlch(60.39, 70.51, 306.08°)
OKLaboklab(67.56% 0.0777 -0.161)
OKLCHoklch(67.56% 0.179 295.8)
XYZxyz(38.7675, 28.5621, 91.4482)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27BF7 #D0F77B
analogous
#7B92F7 #A27BF7 #E07BF7
triadic
#A27BF7 #F7A27B #7BF7A2
tetradic
#A27BF7 #F77B92 #D0F77B #7BF7E0
square
#A27BF7 #F77B92 #D0F77B #7BF7E0
split-complementary
#A27BF7 #F7E07B #92F77B
monochromatic
#530EE9 #7941F4 #A27BF7 #CBB5FA #EBE2FD

Accessibility & contrast

On white

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

On black

6.71
#A27BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27BF7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27BF7#FFFFFF#000000##000000
##A27BF71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#8E93AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a27bf7;
/* rgb */ color: rgb(162, 123, 247);
/* oklch */ color: oklch(67.6% 0.179 295.8);
Tailwind
colors: {
  custom: {
    50: '#c1a2fa',
    500: '#a27bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a27bf7;
$custom-light: #c1a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a27bf7",
  "rgb": {
    "r": 162,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 258.871,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67564,
    "c": 0.17875,
    "h": 295.8
  },
  "luminance": 0.28563
}

Semantic roles & 50–950 ramp

primary
#A27BF7
secondary
#EBF5D6
accent
#E5009D
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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