#A873FA#A873FA

#A873FA is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.0% C 0.195 H 299.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A873FA
RGBrgb(168, 115, 250)
HSLhsl(264, 93%, 72%)
HSVhsv(264, 54%, 98%)
CMYKcmyk(32.8%, 54%, 0%, 2%)
CIE-LABlab(59.42, 48.12, -60.16)
CIE-LCHlch(59.42, 77.04, 308.66°)
OKLaboklab(67.04% 0.0951 -0.1701)
OKLCHoklch(67.04% 0.195 299.2)
XYZxyz(39.5303, 27.4881, 93.6470)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A873FA #C5FA73
analogous
#7382FA #A873FA #EC73FA
triadic
#A873FA #FAA873 #73FAA8
tetradic
#A873FA #FA7382 #C5FA73 #73FAEC
square
#A873FA #FA7382 #C5FA73 #73FAEC
split-complementary
#A873FA #FAEC73 #82FA73
monochromatic
#6108EA #8338F8 #A873FA #CDAEFC #EDE1FE

Accessibility & contrast

On white

3.23
#A873FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A873FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A873FA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A873FA#FFFFFF#000000##000000
##A873FA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFF
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#978EAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a873fa;
/* rgb */ color: rgb(168, 115, 250);
/* oklch */ color: oklch(67.0% 0.195 299.2);
Tailwind
colors: {
  custom: {
    50: '#c69dfd',
    500: '#a873fa',
    950: '#000000',
  },
}
SCSS
$custom: #a873fa;
$custom-light: #c69dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a873fa",
  "rgb": {
    "r": 168,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 263.556,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.19491,
    "h": 299.2
  },
  "luminance": 0.27488
}

Semantic roles & 50–950 ramp

primary
#A873FA
secondary
#E8F6D3
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A873FA

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

Preview Lab → · Contrast checker → · Palette generator →

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