#A279F5#A279F5

#A279F5 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.179 H 296.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A279F5
RGBrgb(162, 121, 245)
HSLhsl(260, 86%, 72%)
HSVhsv(260, 51%, 96%)
CMYKcmyk(33.9%, 50.6%, 0%, 3.9%)
CIE-LABlab(59.84, 42.13, -56.76)
CIE-LCHlch(59.84, 70.69, 306.58°)
OKLaboklab(67.12% 0.08 -0.1603)
OKLCHoklch(67.12% 0.179 296.5)
XYZxyz(38.2150, 27.9481, 89.7497)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279F5 #CCF579
analogous
#798EF5 #A279F5 #E079F5
triadic
#A279F5 #F5A279 #79F5A2
tetradic
#A279F5 #F5798E #CCF579 #79F5E0
square
#A279F5 #F5798E #CCF579 #79F5E0
split-complementary
#A279F5 #F5E079 #8EF579
monochromatic
#5611E3 #7A40F1 #A279F5 #CAB2F9 #EBE3FD

Accessibility & contrast

On white

3.19
#A279F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#A279F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279F5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279F5#FFFFFF#000000##000000
##A279F51.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#8F91AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a279f5;
/* rgb */ color: rgb(162, 121, 245);
/* oklch */ color: oklch(67.1% 0.179 296.5);
Tailwind
colors: {
  custom: {
    50: '#c1a0f9',
    500: '#a279f5',
    950: '#000000',
  },
}
SCSS
$custom: #a279f5;
$custom-light: #c1a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a279f5",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 259.839,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67118,
    "c": 0.17921,
    "h": 296.5
  },
  "luminance": 0.27949
}

Semantic roles & 50–950 ramp

primary
#A279F5
secondary
#EAF5D5
accent
#E30399
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A279F5

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

Preview Lab → · Contrast checker → · Palette generator →

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