#A279DC#A279DC

#A279DC is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.7% C 0.148 H 301.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A279DC
RGBrgb(162, 121, 220)
HSLhsl(265, 59%, 67%)
HSVhsv(265, 45%, 86%)
CMYKcmyk(26.4%, 45%, 0%, 13.7%)
CIE-LABlab(58.53, 35.94, -44.92)
CIE-LCHlch(58.53, 57.53, 308.66°)
OKLaboklab(65.71% 0.0773 -0.1258)
OKLCHoklch(65.71% 0.148 301.6)
XYZxyz(34.6530, 26.5234, 70.9902)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279DC #B3DC79
analogous
#7982DC #A279DC #D379DC
triadic
#A279DC #DCA279 #79DCA2
tetradic
#A279DC #DC7982 #B3DC79 #79DCD3
square
#A279DC #DC7982 #B3DC79 #79DCD3
split-complementary
#A279DC #DCD379 #82DC79
monochromatic
#622DAD #8048CF #A279DC #C4AAE9 #E5DAF5

Accessibility & contrast

On white

3.33
#A279DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A279DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279DC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279DC#FFFFFF#000000##000000
##A279DC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#978AA0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a279dc;
/* rgb */ color: rgb(162, 121, 220);
/* oklch */ color: oklch(65.7% 0.148 301.6);
Tailwind
colors: {
  custom: {
    50: '#c0a0e7',
    500: '#a279dc',
    950: '#000000',
  },
}
SCSS
$custom: #a279dc;
$custom-light: #c0a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a279dc",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 264.848,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65712,
    "c": 0.14764,
    "h": 301.6
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#A279DC
secondary
#DBE8C9
accent
#C61F81
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #A279DC

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

Preview Lab → · Contrast checker → · Palette generator →

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