#A671FD#A671FD

#A671FD is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.7% C 0.201 H 298.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A671FD
RGBrgb(166, 113, 253)
HSLhsl(263, 97%, 72%)
HSVhsv(263, 55%, 99%)
CMYKcmyk(34.4%, 55.3%, 0%, 0.8%)
CIE-LABlab(58.98, 49.47, -62.53)
CIE-LCHlch(58.98, 79.74, 308.35°)
OKLaboklab(66.72% 0.0951 -0.1772)
OKLCHoklch(66.72% 0.201 298.2)
XYZxyz(39.3563, 27.0086, 96.0492)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671FD #C8FD71
analogous
#7182FD #A671FD #EC71FD
triadic
#A671FD #FDA671 #71FDA6
tetradic
#A671FD #FD7182 #C8FD71 #71FDEC
square
#A671FD #FD7182 #C8FD71 #71FDEC
split-complementary
#A671FD #FDEC71 #82FD71
monochromatic
#5D03F0 #8035FC #A671FD #CCADFE #ECE1FF

Accessibility & contrast

On white

3.28
#A671FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A671FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671FD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671FD#FFFFFF#000000##000000
##A671FD1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#448DFA
Tritanopia (blue-blind)
#938EAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a671fd;
/* rgb */ color: rgb(166, 113, 253);
/* oklch */ color: oklch(66.7% 0.201 298.2);
Tailwind
colors: {
  custom: {
    50: '#c59bff',
    500: '#a671fd',
    950: '#000000',
  },
}
SCSS
$custom: #a671fd;
$custom-light: #c59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a671fd",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 262.714,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.20108,
    "h": 298.2
  },
  "luminance": 0.27009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A671FD

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

Preview Lab → · Contrast checker → · Palette generator →

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