#A279F7#A279F7

#A279F7 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.182 H 296.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A279F7
RGBrgb(162, 121, 247)
HSLhsl(260, 89%, 72%)
HSVhsv(260, 51%, 97%)
CMYKcmyk(34.4%, 51%, 0%, 3.1%)
CIE-LABlab(59.95, 42.64, -57.69)
CIE-LCHlch(59.95, 71.74, 306.47°)
OKLaboklab(67.24% 0.0802 -0.1631)
OKLCHoklch(67.24% 0.182 296.2)
XYZxyz(38.5219, 28.0709, 91.3663)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A279F7 #CEF779
analogous
#798FF7 #A279F7 #E179F7
triadic
#A279F7 #F7A279 #79F7A2
tetradic
#A279F7 #F7798F #CEF779 #79F7E1
square
#A279F7 #F7798F #CEF779 #79F7E1
split-complementary
#A279F7 #F7E179 #8FF779
monochromatic
#550EE8 #7A3FF4 #A279F7 #CAB3FA #EBE2FD

Accessibility & contrast

On white

3.17
#A279F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A279F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A279F7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A279F7#FFFFFF#000000##000000
##A279F71.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#8F92AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a279f7;
/* rgb */ color: rgb(162, 121, 247);
/* oklch */ color: oklch(67.2% 0.182 296.2);
Tailwind
colors: {
  custom: {
    50: '#c1a0fa',
    500: '#a279f7',
    950: '#000000',
  },
}
SCSS
$custom: #a279f7;
$custom-light: #c1a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a279f7",
  "rgb": {
    "r": 162,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 259.524,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67236,
    "c": 0.1817,
    "h": 296.2
  },
  "luminance": 0.28072
}

Semantic roles & 50–950 ramp

primary
#A279F7
secondary
#EBF5D6
accent
#E5009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A279F7

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

Preview Lab → · Contrast checker → · Palette generator →

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