#A671FB#A671FB

#A671FB is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.199 H 298.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A671FB
RGBrgb(166, 113, 251)
HSLhsl(263, 95%, 71%)
HSVhsv(263, 55%, 98%)
CMYKcmyk(33.9%, 55%, 0%, 1.6%)
CIE-LABlab(58.86, 48.98, -61.62)
CIE-LCHlch(58.86, 78.71, 308.48°)
OKLaboklab(66.6% 0.0951 -0.1745)
OKLCHoklch(66.6% 0.199 298.6)
XYZxyz(39.0393, 26.8819, 94.3800)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671FB #C6FB71
analogous
#7181FB #A671FB #EB71FB
triadic
#A671FB #FBA671 #71FBA6
tetradic
#A671FB #FB7181 #C6FB71 #71FBEB
square
#A671FB #FB7181 #C6FB71 #71FBEB
split-complementary
#A671FB #FBEB71 #81FB71
monochromatic
#5E07EB #8135F9 #A671FB #CBADFD #ECE1FE

Accessibility & contrast

On white

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

On black

6.38
#A671FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671FB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671FB#FFFFFF#000000##000000
##A671FB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#478CF8
Tritanopia (blue-blind)
#938DAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a671fb;
/* rgb */ color: rgb(166, 113, 251);
/* oklch */ color: oklch(66.6% 0.199 298.6);
Tailwind
colors: {
  custom: {
    50: '#c59bfd',
    500: '#a671fb',
    950: '#000000',
  },
}
SCSS
$custom: #a671fb;
$custom-light: #c59bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a671fb",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 263.043,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66595,
    "c": 0.1987,
    "h": 298.6
  },
  "luminance": 0.26882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A671FB

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

Preview Lab → · Contrast checker → · Palette generator →

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