#A671F6#A671F6

#A671F6 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.193 H 299.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A671F6
RGBrgb(166, 113, 246)
HSLhsl(264, 88%, 70%)
HSVhsv(264, 54%, 96%)
CMYKcmyk(32.5%, 54.1%, 0%, 3.5%)
CIE-LABlab(58.57, 47.74, -59.32)
CIE-LCHlch(58.57, 76.14, 308.83°)
OKLaboklab(66.29% 0.0949 -0.1677)
OKLCHoklch(66.29% 0.193 299.5)
XYZxyz(38.2616, 26.5708, 90.2838)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671F6 #C1F671
analogous
#717EF6 #A671F6 #E971F6
triadic
#A671F6 #F6A671 #71F6A6
tetradic
#A671F6 #F6717E #C1F671 #71F6E9
square
#A671F6 #F6717E #C1F671 #71F6E9
split-complementary
#A671F6 #F6E971 #7EF671
monochromatic
#610EDE #8237F2 #A671F6 #CAABFA #EDE2FD

Accessibility & contrast

On white

3.33
#A671F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A671F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671F6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671F6#FFFFFF#000000##000000
##A671F61.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFA
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#958BA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a671f6;
/* rgb */ color: rgb(166, 113, 246);
/* oklch */ color: oklch(66.3% 0.193 299.5);
Tailwind
colors: {
  custom: {
    50: '#c49bfa',
    500: '#a671f6',
    950: '#000000',
  },
}
SCSS
$custom: #a671f6;
$custom-light: #c49bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a671f6",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 263.91,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66288,
    "c": 0.19273,
    "h": 299.5
  },
  "luminance": 0.26571
}

Semantic roles & 50–950 ramp

primary
#A671F6
secondary
#E5F4CF
accent
#E5018A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A671F6

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

Preview Lab → · Contrast checker → · Palette generator →

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