#A671FE#A671FE

#A671FE is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 66.8% C 0.202 H 298.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A671FE
RGBrgb(166, 113, 254)
HSLhsl(263, 99%, 72%)
HSVhsv(263, 56%, 100%)
CMYKcmyk(34.6%, 55.5%, 0%, 0.4%)
CIE-LABlab(59.04, 49.72, -62.99)
CIE-LCHlch(59.04, 80.25, 308.29°)
OKLaboklab(66.78% 0.0951 -0.1785)
OKLCHoklch(66.78% 0.202 298.1)
XYZxyz(39.5160, 27.0725, 96.8903)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671FE #C9FE71
analogous
#7183FE #A671FE #EC71FE
triadic
#A671FE #FEA671 #71FEA6
tetradic
#A671FE #FE7183 #C9FE71 #71FEEC
square
#A671FE #FE7183 #C9FE71 #71FEEC
split-complementary
#A671FE #FEEC71 #83FE71
monochromatic
#5C02F3 #8034FE #A671FE #CCAEFE #ECE1FF

Accessibility & contrast

On white

3.27
#A671FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A671FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671FE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671FE#FFFFFF#000000##000000
##A671FE1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#438DFB
Tritanopia (blue-blind)
#928EAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a671fe;
/* rgb */ color: rgb(166, 113, 254);
/* oklch */ color: oklch(66.8% 0.202 298.1);
Tailwind
colors: {
  custom: {
    50: '#c59bff',
    500: '#a671fe',
    950: '#000000',
  },
}
SCSS
$custom: #a671fe;
$custom-light: #c59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a671fe",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 262.553,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.20227,
    "h": 298.1
  },
  "luminance": 0.27073
}

Semantic roles & 50–950 ramp

primary
#A671FE
secondary
#EAF7D4
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A671FE

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

Preview Lab → · Contrast checker → · Palette generator →

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