#A873FC#A873FC

#A873FC is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.197 H 298.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A873FC
RGBrgb(168, 115, 252)
HSLhsl(263, 96%, 72%)
HSVhsv(263, 54%, 99%)
CMYKcmyk(33.3%, 54.4%, 0%, 1.2%)
CIE-LABlab(59.54, 48.61, -61.08)
CIE-LCHlch(59.54, 78.06, 308.52°)
OKLaboklab(67.16% 0.0952 -0.1728)
OKLCHoklch(67.16% 0.197 298.8)
XYZxyz(39.8456, 27.6142, 95.3074)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A873FC #C7FC73
analogous
#7383FC #A873FC #ED73FC
triadic
#A873FC #FCA873 #73FCA8
tetradic
#A873FC #FC7383 #C7FC73 #73FCED
square
#A873FC #FC7383 #C7FC73 #73FCED
split-complementary
#A873FC #FCED73 #83FC73
monochromatic
#6005EF #8337FB #A873FC #CDAFFD #ECE1FE

Accessibility & contrast

On white

3.22
#A873FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A873FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A873FC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A873FC#FFFFFF#000000##000000
##A873FC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#4B8EF9
Tritanopia (blue-blind)
#968EAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a873fc;
/* rgb */ color: rgb(168, 115, 252);
/* oklch */ color: oklch(67.2% 0.197 298.8);
Tailwind
colors: {
  custom: {
    50: '#c69dfe',
    500: '#a873fc',
    950: '#000000',
  },
}
SCSS
$custom: #a873fc;
$custom-light: #c69dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a873fc",
  "rgb": {
    "r": 168,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 263.212,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.1973,
    "h": 298.8
  },
  "luminance": 0.27615
}

Semantic roles & 50–950 ramp

primary
#A873FC
secondary
#E9F7D4
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A873FC

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

Preview Lab → · Contrast checker → · Palette generator →

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