#A279CD#A279CD

#A279CD is a light, vivid violet. Relative luminance 0.258; OKLCH L 64.9% C 0.129 H 305.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A279CD
RGBrgb(162, 121, 205)
HSLhsl(269, 46%, 64%)
HSVhsv(269, 41%, 80%)
CMYKcmyk(21%, 41%, 0%, 19.6%)
CIE-LABlab(57.81, 32.39, -37.61)
CIE-LCHlch(57.81, 49.63, 310.74°)
OKLaboklab(64.94% 0.0748 -0.1045)
OKLCHoklch(64.94% 0.129 305.6)
XYZxyz(32.7549, 25.7641, 60.9932)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279CD #A4CD79
analogous
#797ACD #A279CD #CC79CD
triadic
#A279CD #CDA279 #79CDA2
tetradic
#A279CD #CD797A #A4CD79 #79CDCC
square
#A279CD #CD797A #A4CD79 #79CDCC
split-complementary
#A279CD #CDCC79 #7ACD79
monochromatic
#653794 #834CBC #A279CD #C1A6DE #E0D2EE

Accessibility & contrast

On white

3.41
#A279CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A279CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279CD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279CD#FFFFFF#000000##000000
##A279CD1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD0
Deuteranopia (green-blind)
#6F8BCB
Tritanopia (blue-blind)
#9B8699
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a279cd;
/* rgb */ color: rgb(162, 121, 205);
/* oklch */ color: oklch(64.9% 0.129 305.6);
Tailwind
colors: {
  custom: {
    50: '#bfa0dc',
    500: '#a279cd',
    950: '#000000',
  },
}
SCSS
$custom: #a279cd;
$custom-light: #bfa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a279cd",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 269.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64937,
    "c": 0.12857,
    "h": 305.6
  },
  "luminance": 0.25764
}

Semantic roles & 50–950 ramp

primary
#A279CD
secondary
#D1E0C2
accent
#B92D74
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #A279CD

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

Preview Lab → · Contrast checker → · Palette generator →

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