#A27BE9#A27BE9

#A27BE9 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.161 H 298.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A27BE9
RGBrgb(162, 123, 233)
HSLhsl(261, 71%, 70%)
HSVhsv(261, 47%, 91%)
CMYKcmyk(30.5%, 47.2%, 0%, 8.6%)
CIE-LABlab(59.64, 38.00, -50.42)
CIE-LCHlch(59.64, 63.14, 307.00°)
OKLaboklab(66.76% 0.0763 -0.1418)
OKLCHoklch(66.76% 0.161 298.3)
XYZxyz(36.6877, 27.7301, 80.4946)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27BE9 #C2E97B
analogous
#7B8BE9 #A27BE9 #D97BE9
triadic
#A27BE9 #E9A27B #7BE9A2
tetradic
#A27BE9 #E97B8B #C2E97B #7BE9D9
square
#A27BE9 #E97B8B #C2E97B #7BE9D9
split-complementary
#A27BE9 #E9D97B #8BE97B
monochromatic
#5D21C8 #7D47E0 #A27BE9 #C7AFF2 #ECE4FA

Accessibility & contrast

On white

3.21
#A27BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A27BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27BE9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27BE9#FFFFFF#000000##000000
##A27BE91.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890ED
Deuteranopia (green-blind)
#608FE6
Tritanopia (blue-blind)
#938FA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a27be9;
/* rgb */ color: rgb(162, 123, 233);
/* oklch */ color: oklch(66.8% 0.161 298.3);
Tailwind
colors: {
  custom: {
    50: '#c0a2f0',
    500: '#a27be9',
    950: '#000000',
  },
}
SCSS
$custom: #a27be9;
$custom-light: #c0a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a27be9",
  "rgb": {
    "r": 162,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 261.273,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66762,
    "c": 0.16103,
    "h": 298.3
  },
  "luminance": 0.2773
}

Semantic roles & 50–950 ramp

primary
#A27BE9
secondary
#E4EFD0
accent
#D3128F
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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