#A873DA#A873DA

#A873DA is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.2% C 0.156 H 306.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A873DA
RGBrgb(168, 115, 218)
HSLhsl(271, 58%, 65%)
HSVhsv(271, 47%, 85%)
CMYKcmyk(22.9%, 47.2%, 0%, 14.5%)
CIE-LABlab(57.70, 40.47, -45.07)
CIE-LCHlch(57.70, 60.57, 311.92°)
OKLaboklab(65.2% 0.0925 -0.126)
OKLCHoklch(65.2% 0.156 306.3)
XYZxyz(34.9315, 25.6485, 69.4265)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A873DA #A5DA73
analogous
#7473DA #A873DA #DA73D8
triadic
#A873DA #DAA873 #73DAA8
tetradic
#A873DA #DA7473 #A5DA73 #73D8DA
square
#A873DA #DA7473 #A5DA73 #73D8DA
split-complementary
#A873DA #D8DA73 #73DA74
monochromatic
#6B2CA7 #8A43CD #A873DA #C6A3E7 #E4D4F4

Accessibility & contrast

On white

3.43
#A873DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A873DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A873DA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A873DA#FFFFFF#000000##000000
##A873DA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DE
Deuteranopia (green-blind)
#668BD7
Tritanopia (blue-blind)
#A0849C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a873da;
/* rgb */ color: rgb(168, 115, 218);
/* oklch */ color: oklch(65.2% 0.156 306.3);
Tailwind
colors: {
  custom: {
    50: '#c49ce6',
    500: '#a873da',
    950: '#000000',
  },
}
SCSS
$custom: #a873da;
$custom-light: #c49ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#a873da",
  "rgb": {
    "r": 168,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 270.874,
    "s": 58.192,
    "l": 65.294
  },
  "oklch": {
    "l": 0.652,
    "c": 0.15637,
    "h": 306.3
  },
  "luminance": 0.25648
}

Semantic roles & 50–950 ramp

primary
#A873DA
secondary
#D4E6C3
accent
#C62070
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A873DA

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

Preview Lab → · Contrast checker → · Palette generator →

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