#A671DF#A671DF

#A671DF is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.9% C 0.165 H 304.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A671DF
RGBrgb(166, 113, 223)
HSLhsl(269, 63%, 66%)
HSVhsv(269, 49%, 87%)
CMYKcmyk(25.6%, 49.3%, 0%, 12.5%)
CIE-LABlab(57.31, 42.20, -48.51)
CIE-LCHlch(57.31, 64.29, 311.02°)
OKLaboklab(64.94% 0.0934 -0.1361)
OKLCHoklch(64.94% 0.165 304.5)
XYZxyz(34.9474, 25.2451, 72.8294)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671DF #AADF71
analogous
#7173DF #A671DF #DD71DF
triadic
#A671DF #DFA671 #71DFA6
tetradic
#A671DF #DF7173 #AADF71 #71DFDD
square
#A671DF #DF7173 #AADF71 #71DFDD
split-complementary
#A671DF #DFDD71 #73DF71
monochromatic
#6827AE #873FD4 #A671DF #C5A3EA #E5D5F6

Accessibility & contrast

On white

3.47
#A671DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A671DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671DF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671DF#FFFFFF#000000##000000
##A671DF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#5F8ADC
Tritanopia (blue-blind)
#9C859E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a671df;
/* rgb */ color: rgb(166, 113, 223);
/* oklch */ color: oklch(64.9% 0.165 304.5);
Tailwind
colors: {
  custom: {
    50: '#c39be9',
    500: '#a671df',
    950: '#000000',
  },
}
SCSS
$custom: #a671df;
$custom-light: #c39be9;
$custom-dark: #000000;
JSON
{
  "hex": "#a671df",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 268.909,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64945,
    "c": 0.16505,
    "h": 304.5
  },
  "luminance": 0.25245
}

Semantic roles & 50–950 ramp

primary
#A671DF
secondary
#D7E8C4
accent
#CB1B76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A671DF

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

Preview Lab → · Contrast checker → · Palette generator →

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