#A279EA#A279EA

#A279EA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.165 H 298.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A279EA
RGBrgb(162, 121, 234)
HSLhsl(262, 73%, 70%)
HSVhsv(262, 48%, 92%)
CMYKcmyk(30.8%, 48.3%, 0%, 8.2%)
CIE-LABlab(59.25, 39.37, -51.61)
CIE-LCHlch(59.25, 64.91, 307.34°)
OKLaboklab(66.48% 0.0791 -0.1453)
OKLCHoklch(66.48% 0.165 298.6)
XYZxyz(36.5854, 27.2963, 81.1672)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279EA #C1EA79
analogous
#7989EA #A279EA #DB79EA
triadic
#A279EA #EAA279 #79EAA2
tetradic
#A279EA #EA7989 #C1EA79 #79EADB
square
#A279EA #EA7989 #C1EA79 #79EADB
split-complementary
#A279EA #EADB79 #89EA79
monochromatic
#5D20C9 #7D44E2 #A279EA #C7AEF2 #EBE3FB

Accessibility & contrast

On white

3.25
#A279EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A279EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279EA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279EA#FFFFFF#000000##000000
##A279EA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#938EA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a279ea;
/* rgb */ color: rgb(162, 121, 234);
/* oklch */ color: oklch(66.5% 0.165 298.6);
Tailwind
colors: {
  custom: {
    50: '#c0a0f1',
    500: '#a279ea',
    950: '#000000',
  },
}
SCSS
$custom: #a279ea;
$custom-light: #c0a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a279ea",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 261.77,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.16538,
    "h": 298.6
  },
  "luminance": 0.27297
}

Semantic roles & 50–950 ramp

primary
#A279EA
secondary
#E4F0CF
accent
#D5118E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A279EA

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

Preview Lab → · Contrast checker → · Palette generator →

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