#A279F9#A279F9

#A279F9 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.184 H 295.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A279F9
RGBrgb(162, 121, 249)
HSLhsl(259, 91%, 73%)
HSVhsv(259, 51%, 98%)
CMYKcmyk(34.9%, 51.4%, 0%, 2.4%)
CIE-LABlab(60.06, 43.15, -58.61)
CIE-LCHlch(60.06, 72.78, 306.36°)
OKLaboklab(67.36% 0.0803 -0.1658)
OKLCHoklch(67.36% 0.184 295.8)
XYZxyz(38.8322, 28.1950, 93.0004)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279F9 #D0F979
analogous
#7990F9 #A279F9 #E279F9
triadic
#A279F9 #F9A279 #79F9A2
tetradic
#A279F9 #F97990 #D0F979 #79F9E2
square
#A279F9 #F97990 #D0F979 #79F9E2
split-complementary
#A279F9 #F9E279 #90F979
monochromatic
#530BED #793EF6 #A279F9 #CBB4FC #EBE2FE

Accessibility & contrast

On white

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

On black

6.64
#A279F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279F9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279F9#FFFFFF#000000##000000
##A279F91.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FD
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#8E92AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a279f9;
/* rgb */ color: rgb(162, 121, 249);
/* oklch */ color: oklch(67.4% 0.184 295.8);
Tailwind
colors: {
  custom: {
    50: '#c1a1fc',
    500: '#a279f9',
    950: '#000000',
  },
}
SCSS
$custom: #a279f9;
$custom-light: #c1a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a279f9",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 259.219,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67355,
    "c": 0.1842,
    "h": 295.8
  },
  "luminance": 0.28196
}

Semantic roles & 50–950 ramp

primary
#A279F9
secondary
#EBF6D5
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A279F9

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

Preview Lab → · Contrast checker → · Palette generator →

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