#A173FC#A173FC

#A173FC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.196 H 296.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A173FC
RGBrgb(161, 115, 252)
HSLhsl(260, 96%, 72%)
HSVhsv(260, 54%, 99%)
CMYKcmyk(36.1%, 54.4%, 0%, 1.2%)
CIE-LABlab(58.85, 46.98, -62.22)
CIE-LCHlch(58.85, 77.97, 307.06°)
OKLaboklab(66.49% 0.0865 -0.1764)
OKLCHoklch(66.49% 0.196 296.1)
XYZxyz(38.3949, 26.8662, 95.2394)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173FC #CEFC73
analogous
#738AFC #A173FC #E673FC
triadic
#A173FC #FCA173 #73FCA1
tetradic
#A173FC #FC738A #CEFC73 #73FCE6
square
#A173FC #FC738A #CEFC73 #73FCE6
split-complementary
#A173FC #FCE673 #8AFC73
monochromatic
#5405EF #7937FB #A173FC #C9AFFD #EBE1FE

Accessibility & contrast

On white

3.29
#A173FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A173FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173FC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173FC#FFFFFF#000000##000000
##A173FC1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#438CF9
Tritanopia (blue-blind)
#8C8FAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a173fc;
/* rgb */ color: rgb(161, 115, 252);
/* oklch */ color: oklch(66.5% 0.196 296.1);
Tailwind
colors: {
  custom: {
    50: '#c19cfe',
    500: '#a173fc',
    950: '#000000',
  },
}
SCSS
$custom: #a173fc;
$custom-light: #c19cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a173fc",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 260.146,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66489,
    "c": 0.19645,
    "h": 296.1
  },
  "luminance": 0.26867
}

Semantic roles & 50–950 ramp

primary
#A173FC
secondary
#EBF7D4
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A173FC

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

Preview Lab → · Contrast checker → · Palette generator →

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