#A279FD#A279FD

#A279FD is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.189 H 295.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A279FD
RGBrgb(162, 121, 253)
HSLhsl(259, 97%, 73%)
HSVhsv(259, 52%, 99%)
CMYKcmyk(36%, 52.2%, 0%, 0.8%)
CIE-LABlab(60.29, 44.17, -60.46)
CIE-LCHlch(60.29, 74.87, 306.15°)
OKLaboklab(67.6% 0.0805 -0.1712)
OKLCHoklch(67.6% 0.189 295.2)
XYZxyz(39.4627, 28.4472, 96.3212)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279FD #D4FD79
analogous
#7992FD #A279FD #E479FD
triadic
#A279FD #FDA279 #79FDA2
tetradic
#A279FD #FD7992 #D4FD79 #79FDE4
square
#A279FD #FD7992 #D4FD79 #79FDE4
split-complementary
#A279FD #FDE479 #92FD79
monochromatic
#5004F8 #783DFC #A279FD #CCB5FE #EAE1FF

Accessibility & contrast

On white

3.14
#A279FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A279FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279FD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279FD#FFFFFF#000000##000000
##A279FD1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#4D8FFA
Tritanopia (blue-blind)
#8C94B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a279fd;
/* rgb */ color: rgb(162, 121, 253);
/* oklch */ color: oklch(67.6% 0.189 295.2);
Tailwind
colors: {
  custom: {
    50: '#c2a1ff',
    500: '#a279fd',
    950: '#000000',
  },
}
SCSS
$custom: #a279fd;
$custom-light: #c2a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a279fd",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 258.636,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67596,
    "c": 0.18917,
    "h": 295.2
  },
  "luminance": 0.28448
}

Semantic roles & 50–950 ramp

primary
#A279FD
secondary
#ECF7D4
accent
#E6009E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A279FD

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

Preview Lab → · Contrast checker → · Palette generator →

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