#A671EC#A671EC

#A671EC is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.181 H 301.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A671EC
RGBrgb(166, 113, 236)
HSLhsl(266, 76%, 68%)
HSVhsv(266, 52%, 93%)
CMYKcmyk(29.7%, 52.1%, 0%, 7.5%)
CIE-LABlab(58.01, 45.30, -54.66)
CIE-LCHlch(58.01, 71.00, 309.65°)
OKLaboklab(65.69% 0.0945 -0.1541)
OKLCHoklch(65.69% 0.181 301.5)
XYZxyz(36.7678, 25.9733, 82.4169)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671EC #B7EC71
analogous
#7179EC #A671EC #E471EC
triadic
#A671EC #ECA671 #71ECA6
tetradic
#A671EC #EC7179 #B7EC71 #71ECE4
square
#A671EC #EC7179 #B7EC71 #71ECE4
split-complementary
#A671EC #ECE471 #79EC71
monochromatic
#651BC8 #843BE5 #A671EC #C8A7F3 #EADDFA

Accessibility & contrast

On white

3.39
#A671EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A671EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671EC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671EC#FFFFFF#000000##000000
##A671EC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#9888A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a671ec;
/* rgb */ color: rgb(166, 113, 236);
/* oklch */ color: oklch(65.7% 0.181 301.5);
Tailwind
colors: {
  custom: {
    50: '#c49bf3',
    500: '#a671ec',
    950: '#000000',
  },
}
SCSS
$custom: #a671ec;
$custom-light: #c49bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a671ec",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 265.854,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.18073,
    "h": 301.5
  },
  "luminance": 0.25973
}

Semantic roles & 50–950 ramp

primary
#A671EC
secondary
#DFEFCA
accent
#D90D81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A671EC

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

Preview Lab → · Contrast checker → · Palette generator →

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