#A671FC#A671FC

#A671FC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.200 H 298.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A671FC
RGBrgb(166, 113, 252)
HSLhsl(263, 96%, 72%)
HSVhsv(263, 55%, 99%)
CMYKcmyk(34.1%, 55.2%, 0%, 1.2%)
CIE-LABlab(58.92, 49.23, -62.07)
CIE-LCHlch(58.92, 79.22, 308.41°)
OKLaboklab(66.66% 0.0951 -0.1758)
OKLCHoklch(66.66% 0.2 298.4)
XYZxyz(39.1974, 26.9451, 95.2124)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671FC #C7FC71
analogous
#7182FC #A671FC #EC71FC
triadic
#A671FC #FCA671 #71FCA6
tetradic
#A671FC #FC7182 #C7FC71 #71FCEC
square
#A671FC #FC7182 #C7FC71 #71FCEC
split-complementary
#A671FC #FCEC71 #82FC71
monochromatic
#5E05EE #8035FB #A671FC #CCADFD #ECE1FE

Accessibility & contrast

On white

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

On black

6.39
#A671FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671FC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671FC#FFFFFF#000000##000000
##A671FC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#458CF9
Tritanopia (blue-blind)
#938DAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a671fc;
/* rgb */ color: rgb(166, 113, 252);
/* oklch */ color: oklch(66.7% 0.200 298.4);
Tailwind
colors: {
  custom: {
    50: '#c59bfe',
    500: '#a671fc',
    950: '#000000',
  },
}
SCSS
$custom: #a671fc;
$custom-light: #c59bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a671fc",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 262.878,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66657,
    "c": 0.19988,
    "h": 298.4
  },
  "luminance": 0.26946
}

Semantic roles & 50–950 ramp

primary
#A671FC
secondary
#E9F6D3
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A671FC

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

Preview Lab → · Contrast checker → · Palette generator →

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