#A279FB#A279FB

#A279FB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.187 H 295.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A279FB
RGBrgb(162, 121, 251)
HSLhsl(259, 94%, 73%)
HSVhsv(259, 52%, 98%)
CMYKcmyk(35.5%, 51.8%, 0%, 1.6%)
CIE-LABlab(60.18, 43.66, -59.54)
CIE-LCHlch(60.18, 73.83, 306.25°)
OKLaboklab(67.47% 0.0804 -0.1685)
OKLCHoklch(67.47% 0.187 295.5)
XYZxyz(39.1458, 28.3205, 94.6520)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279FB #D2FB79
analogous
#7991FB #A279FB #E379FB
triadic
#A279FB #FBA279 #79FBA2
tetradic
#A279FB #FB7991 #D2FB79 #79FBE3
square
#A279FB #FB7991 #D2FB79 #79FBE3
split-complementary
#A279FB #FBE379 #91FB79
monochromatic
#5107F2 #793EF9 #A279FB #CBB4FD #EAE1FE

Accessibility & contrast

On white

3.15
#A279FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A279FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279FB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279FB#FFFFFF#000000##000000
##A279FB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#8D93AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a279fb;
/* rgb */ color: rgb(162, 121, 251);
/* oklch */ color: oklch(67.5% 0.187 295.5);
Tailwind
colors: {
  custom: {
    50: '#c2a1fd',
    500: '#a279fb',
    950: '#000000',
  },
}
SCSS
$custom: #a279fb;
$custom-light: #c2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a279fb",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 258.923,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67475,
    "c": 0.18668,
    "h": 295.5
  },
  "luminance": 0.28321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A279FB

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

Preview Lab → · Contrast checker → · Palette generator →

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