#A873FB#A873FB

#A873FB is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.196 H 299.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A873FB
RGBrgb(168, 115, 251)
HSLhsl(263, 94%, 72%)
HSVhsv(263, 54%, 98%)
CMYKcmyk(33.1%, 54.2%, 0%, 1.6%)
CIE-LABlab(59.48, 48.37, -60.62)
CIE-LCHlch(59.48, 77.55, 308.59°)
OKLaboklab(67.1% 0.0951 -0.1715)
OKLCHoklch(67.1% 0.196 299)
XYZxyz(39.6875, 27.5510, 94.4750)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A873FB #C6FB73
analogous
#7382FB #A873FB #EC73FB
triadic
#A873FB #FBA873 #73FBA8
tetradic
#A873FB #FB7382 #C6FB73 #73FBEC
square
#A873FB #FB7382 #C6FB73 #73FBEC
split-complementary
#A873FB #FBEC73 #82FB73
monochromatic
#6007ED #8338F9 #A873FB #CDAFFD #EDE1FE

Accessibility & contrast

On white

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

On black

6.51
#A873FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A873FB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A873FB#FFFFFF#000000##000000
##A873FB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#968EAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a873fb;
/* rgb */ color: rgb(168, 115, 251);
/* oklch */ color: oklch(67.1% 0.196 299.0);
Tailwind
colors: {
  custom: {
    50: '#c69dfd',
    500: '#a873fb',
    950: '#000000',
  },
}
SCSS
$custom: #a873fb;
$custom-light: #c69dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a873fb",
  "rgb": {
    "r": 168,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 263.382,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67096,
    "c": 0.19611,
    "h": 299
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#A873FB
secondary
#E9F6D4
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A873FB

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

Preview Lab → · Contrast checker → · Palette generator →

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