#A873F9#A873F9

#A873F9 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.194 H 299.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A873F9
RGBrgb(168, 115, 249)
HSLhsl(264, 92%, 71%)
HSVhsv(264, 54%, 98%)
CMYKcmyk(32.5%, 53.8%, 0%, 2.4%)
CIE-LABlab(59.37, 47.88, -59.70)
CIE-LCHlch(59.37, 76.52, 308.73°)
OKLaboklab(66.97% 0.0951 -0.1688)
OKLCHoklch(66.97% 0.194 299.4)
XYZxyz(39.3739, 27.4255, 92.8234)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A873F9 #C4F973
analogous
#7381F9 #A873F9 #EB73F9
triadic
#A873F9 #F9A873 #73F9A8
tetradic
#A873F9 #F97381 #C4F973 #73F9EB
square
#A873F9 #F97381 #C4F973 #73F9EB
split-complementary
#A873F9 #F9EB73 #81F973
monochromatic
#620AE8 #8438F6 #A873F9 #CCAEFC #EDE2FE

Accessibility & contrast

On white

3.24
#A873F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#A873F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A873F9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A873F9#FFFFFF#000000##000000
##A873F91.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFE
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#978EAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a873f9;
/* rgb */ color: rgb(168, 115, 249);
/* oklch */ color: oklch(67.0% 0.194 299.4);
Tailwind
colors: {
  custom: {
    50: '#c69dfc',
    500: '#a873f9',
    950: '#000000',
  },
}
SCSS
$custom: #a873f9;
$custom-light: #c69dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a873f9",
  "rgb": {
    "r": 168,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 263.731,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66974,
    "c": 0.19372,
    "h": 299.4
  },
  "luminance": 0.27426
}

Semantic roles & 50–950 ramp

primary
#A873F9
secondary
#E8F5D2
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A873F9

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

Preview Lab → · Contrast checker → · Palette generator →

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