#A27BF3#A27BF3

#A27BF3 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.174 H 296.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A27BF3
RGBrgb(162, 123, 243)
HSLhsl(260, 83%, 72%)
HSVhsv(260, 49%, 95%)
CMYKcmyk(33.3%, 49.4%, 0%, 4.7%)
CIE-LABlab(60.17, 40.51, -55.12)
CIE-LCHlch(60.17, 68.41, 306.31°)
OKLaboklab(67.33% 0.0773 -0.1555)
OKLCHoklch(67.33% 0.174 296.4)
XYZxyz(38.1569, 28.3178, 88.2322)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27BF3 #CCF37B
analogous
#7B90F3 #A27BF3 #DE7BF3
triadic
#A27BF3 #F3A27B #7BF3A2
tetradic
#A27BF3 #F37B90 #CCF37B #7BF3DE
square
#A27BF3 #F37B90 #CCF37B #7BF3DE
split-complementary
#A27BF3 #F3DE7B #90F37B
monochromatic
#5614DF #7A43EE #A27BF3 #CAB3F8 #EBE3FC

Accessibility & contrast

On white

3.15
#A27BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A27BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27BF3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27BF3#FFFFFF#000000##000000
##A27BF31.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#9092AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a27bf3;
/* rgb */ color: rgb(162, 123, 243);
/* oklch */ color: oklch(67.3% 0.174 296.4);
Tailwind
colors: {
  custom: {
    50: '#c1a2f8',
    500: '#a27bf3',
    950: '#000000',
  },
}
SCSS
$custom: #a27bf3;
$custom-light: #c1a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a27bf3",
  "rgb": {
    "r": 162,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 259.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6733,
    "c": 0.17371,
    "h": 296.4
  },
  "luminance": 0.28318
}

Semantic roles & 50–950 ramp

primary
#A27BF3
secondary
#EAF4D6
accent
#E00699
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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