#A671DC#A671DC

#A671DC is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.8% C 0.161 H 305.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A671DC
RGBrgb(166, 113, 220)
HSLhsl(270, 60%, 65%)
HSVhsv(270, 49%, 86%)
CMYKcmyk(24.5%, 48.6%, 0%, 13.7%)
CIE-LABlab(57.16, 41.49, -47.07)
CIE-LCHlch(57.16, 62.75, 311.40°)
OKLaboklab(64.78% 0.0931 -0.1319)
OKLCHoklch(64.78% 0.161 305.2)
XYZxyz(34.5466, 25.0848, 70.7181)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671DC #A7DC71
analogous
#7171DC #A671DC #DC71DC
triadic
#A671DC #DCA671 #71DCA6
tetradic
#A671DC #DC7171 #A7DC71 #71DCDC
square
#A671DC #DC7171 #A7DC71 #71DCDC
split-complementary
#A671DC #DCDC71 #71DC71
monochromatic
#692AA9 #8740D0 #A671DC #C5A2E8 #E4D3F4

Accessibility & contrast

On white

3.49
#A671DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A671DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671DC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671DC#FFFFFF#000000##000000
##A671DC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E0
Deuteranopia (green-blind)
#6189D9
Tritanopia (blue-blind)
#9D849C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a671dc;
/* rgb */ color: rgb(166, 113, 220);
/* oklch */ color: oklch(64.8% 0.161 305.2);
Tailwind
colors: {
  custom: {
    50: '#c39be7',
    500: '#a671dc',
    950: '#000000',
  },
}
SCSS
$custom: #a671dc;
$custom-light: #c39be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a671dc",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 269.72,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64779,
    "c": 0.16143,
    "h": 305.2
  },
  "luminance": 0.25085
}

Semantic roles & 50–950 ramp

primary
#A671DC
secondary
#D5E6C2
accent
#C81D74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A671DC

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

Preview Lab → · Contrast checker → · Palette generator →

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