#A671F9#A671F9

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

Color values

HEX#A671F9
RGBrgb(166, 113, 249)
HSLhsl(263, 92%, 71%)
HSVhsv(263, 55%, 98%)
CMYKcmyk(33.3%, 54.6%, 0%, 2.4%)
CIE-LABlab(58.75, 48.48, -60.70)
CIE-LCHlch(58.75, 77.68, 308.62°)
OKLaboklab(66.47% 0.095 -0.1718)
OKLCHoklch(66.47% 0.196 299)
XYZxyz(38.7257, 26.7564, 92.7284)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671F9 #C4F971
analogous
#7180F9 #A671F9 #EA71F9
triadic
#A671F9 #F9A671 #71F9A6
tetradic
#A671F9 #F97180 #C4F971 #71F9EA
square
#A671F9 #F97180 #C4F971 #71F9EA
split-complementary
#A671F9 #F9EA71 #80F971
monochromatic
#600AE6 #8136F7 #A671F9 #CBACFB #EDE2FE

Accessibility & contrast

On white

3.31
#A671F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A671F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671F9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671F9#FFFFFF#000000##000000
##A671F91.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFE
Deuteranopia (green-blind)
#498CF6
Tritanopia (blue-blind)
#948CAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a671f9;
/* rgb */ color: rgb(166, 113, 249);
/* oklch */ color: oklch(66.5% 0.196 299.0);
Tailwind
colors: {
  custom: {
    50: '#c49bfc',
    500: '#a671f9',
    950: '#000000',
  },
}
SCSS
$custom: #a671f9;
$custom-light: #c49bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a671f9",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 263.382,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66472,
    "c": 0.19631,
    "h": 299
  },
  "luminance": 0.26757
}

Semantic roles & 50–950 ramp

primary
#A671F9
secondary
#E7F5D1
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A671F9

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

Preview Lab → · Contrast checker → · Palette generator →

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