#A671FA#A671FA

#A671FA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.198 H 298.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A671FA
RGBrgb(166, 113, 250)
HSLhsl(263, 93%, 71%)
HSVhsv(263, 55%, 98%)
CMYKcmyk(33.6%, 54.8%, 0%, 2%)
CIE-LABlab(58.81, 48.73, -61.16)
CIE-LCHlch(58.81, 78.20, 308.55°)
OKLaboklab(66.53% 0.0951 -0.1731)
OKLCHoklch(66.53% 0.198 298.8)
XYZxyz(38.8821, 26.8190, 93.5520)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671FA #C5FA71
analogous
#7180FA #A671FA #EB71FA
triadic
#A671FA #FAA671 #71FAA6
tetradic
#A671FA #FA7180 #C5FA71 #71FAEB
square
#A671FA #FA7180 #C5FA71 #71FAEB
split-complementary
#A671FA #FAEB71 #80FA71
monochromatic
#5F08E8 #8136F8 #A671FA #CBACFC #ECE1FE

Accessibility & contrast

On white

3.30
#A671FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A671FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671FA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671FA#FFFFFF#000000##000000
##A671FA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFF
Deuteranopia (green-blind)
#488CF7
Tritanopia (blue-blind)
#948DAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a671fa;
/* rgb */ color: rgb(166, 113, 250);
/* oklch */ color: oklch(66.5% 0.198 298.8);
Tailwind
colors: {
  custom: {
    50: '#c59bfd',
    500: '#a671fa',
    950: '#000000',
  },
}
SCSS
$custom: #a671fa;
$custom-light: #c59bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a671fa",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 263.212,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.1975,
    "h": 298.8
  },
  "luminance": 0.26819
}

Semantic roles & 50–950 ramp

primary
#A671FA
secondary
#E7F5D1
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A671FA

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

Preview Lab → · Contrast checker → · Palette generator →

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