#A671DB#A671DB

#A671DB is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.7% C 0.160 H 305.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A671DB
RGBrgb(166, 113, 219)
HSLhsl(270, 60%, 65%)
HSVhsv(270, 48%, 86%)
CMYKcmyk(24.2%, 48.4%, 0%, 14.1%)
CIE-LABlab(57.11, 41.26, -46.59)
CIE-LCHlch(57.11, 62.23, 311.53°)
OKLaboklab(64.72% 0.093 -0.1305)
OKLCHoklch(64.72% 0.16 305.5)
XYZxyz(34.4145, 25.0319, 70.0227)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671DB #A6DB71
analogous
#7171DB #A671DB #DB71DB
triadic
#A671DB #DBA671 #71DBA6
tetradic
#A671DB #DB7171 #A6DB71 #71DBDB
square
#A671DB #DB7171 #A6DB71 #71DBDB
split-complementary
#A671DB #DBDB71 #71DB71
monochromatic
#692AA7 #8740CF #A671DB #C5A2E7 #E3D3F4

Accessibility & contrast

On white

3.50
#A671DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A671DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671DB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671DB#FFFFFF#000000##000000
##A671DB1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#9D839C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a671db;
/* rgb */ color: rgb(166, 113, 219);
/* oklch */ color: oklch(64.7% 0.160 305.5);
Tailwind
colors: {
  custom: {
    50: '#c39be6',
    500: '#a671db',
    950: '#000000',
  },
}
SCSS
$custom: #a671db;
$custom-light: #c39be6;
$custom-dark: #000000;
JSON
{
  "hex": "#a671db",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.16022,
    "h": 305.5
  },
  "luminance": 0.25032
}

Semantic roles & 50–950 ramp

primary
#A671DB
secondary
#D4E6C2
accent
#C71E73
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A671DB

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

Preview Lab → · Contrast checker → · Palette generator →

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