#A279EB#A279EB

#A279EB is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.167 H 298.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A279EB
RGBrgb(162, 121, 235)
HSLhsl(262, 74%, 70%)
HSVhsv(262, 49%, 92%)
CMYKcmyk(31.1%, 48.5%, 0%, 7.8%)
CIE-LABlab(59.30, 39.62, -52.08)
CIE-LCHlch(59.30, 65.44, 307.26°)
OKLaboklab(66.54% 0.0792 -0.1466)
OKLCHoklch(66.54% 0.167 298.4)
XYZxyz(36.7294, 27.3539, 81.9259)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279EB #C2EB79
analogous
#7989EB #A279EB #DB79EB
triadic
#A279EB #EBA279 #79EBA2
tetradic
#A279EB #EB7989 #C2EB79 #79EBDB
square
#A279EB #EB7989 #C2EB79 #79EBDB
split-complementary
#A279EB #EBDB79 #89EB79
monochromatic
#5D1ECB #7D44E3 #A279EB #C7AEF3 #ECE4FB

Accessibility & contrast

On white

3.25
#A279EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A279EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279EB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279EB#FFFFFF#000000##000000
##A279EB1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#5C8EE8
Tritanopia (blue-blind)
#938EA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a279eb;
/* rgb */ color: rgb(162, 121, 235);
/* oklch */ color: oklch(66.5% 0.167 298.4);
Tailwind
colors: {
  custom: {
    50: '#c0a0f2',
    500: '#a279eb',
    950: '#000000',
  },
}
SCSS
$custom: #a279eb;
$custom-light: #c0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a279eb",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 261.579,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.16664,
    "h": 298.4
  },
  "luminance": 0.27354
}

Semantic roles & 50–950 ramp

primary
#A279EB
secondary
#E4F0D0
accent
#D60F8F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A279EB

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

Preview Lab → · Contrast checker → · Palette generator →

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