#A279FA#A279FA

#A279FA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.185 H 295.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A279FA
RGBrgb(162, 121, 250)
HSLhsl(259, 93%, 73%)
HSVhsv(259, 52%, 98%)
CMYKcmyk(35.2%, 51.6%, 0%, 2%)
CIE-LABlab(60.12, 43.40, -59.08)
CIE-LCHlch(60.12, 73.31, 306.30°)
OKLaboklab(67.42% 0.0804 -0.1671)
OKLCHoklch(67.42% 0.185 295.7)
XYZxyz(38.9886, 28.2576, 93.8241)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279FA #D1FA79
analogous
#7990FA #A279FA #E379FA
triadic
#A279FA #FAA279 #79FAA2
tetradic
#A279FA #FA7990 #D1FA79 #79FAE3
square
#A279FA #FA7990 #D1FA79 #79FAE3
split-complementary
#A279FA #FAE379 #90FA79
monochromatic
#5209F0 #793EF8 #A279FA #CBB4FC #EBE2FE

Accessibility & contrast

On white

3.16
#A279FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A279FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279FA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279FA#FFFFFF#000000##000000
##A279FA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FE
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#8D93AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a279fa;
/* rgb */ color: rgb(162, 121, 250);
/* oklch */ color: oklch(67.4% 0.185 295.7);
Tailwind
colors: {
  custom: {
    50: '#c1a1fd',
    500: '#a279fa',
    950: '#000000',
  },
}
SCSS
$custom: #a279fa;
$custom-light: #c1a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a279fa",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 259.07,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67415,
    "c": 0.18544,
    "h": 295.7
  },
  "luminance": 0.28258
}

Semantic roles & 50–950 ramp

primary
#A279FA
secondary
#ECF6D5
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A279FA

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

Preview Lab → · Contrast checker → · Palette generator →

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