#A671EA#A671EA

#A671EA is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.178 H 301.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A671EA
RGBrgb(166, 113, 234)
HSLhsl(266, 74%, 68%)
HSVhsv(266, 52%, 92%)
CMYKcmyk(29.1%, 51.7%, 0%, 8.2%)
CIE-LABlab(57.90, 44.82, -53.72)
CIE-LCHlch(57.90, 69.96, 309.84°)
OKLaboklab(65.57% 0.0943 -0.1513)
OKLCHoklch(65.57% 0.178 301.9)
XYZxyz(36.4789, 25.8577, 80.8952)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671EA #B5EA71
analogous
#7178EA #A671EA #E271EA
triadic
#A671EA #EAA671 #71EAA6
tetradic
#A671EA #EA7178 #B5EA71 #71EAE2
square
#A671EA #EA7178 #B5EA71 #71EAE2
split-complementary
#A671EA #EAE271 #78EA71
monochromatic
#661DC4 #853CE2 #A671EA #C7A6F2 #E9DCFA

Accessibility & contrast

On white

3.40
#A671EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A671EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671EA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671EA#FFFFFF#000000##000000
##A671EA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#9988A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a671ea;
/* rgb */ color: rgb(166, 113, 234);
/* oklch */ color: oklch(65.6% 0.178 301.9);
Tailwind
colors: {
  custom: {
    50: '#c39bf1',
    500: '#a671ea',
    950: '#000000',
  },
}
SCSS
$custom: #a671ea;
$custom-light: #c39bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a671ea",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 266.281,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65573,
    "c": 0.17833,
    "h": 301.9
  },
  "luminance": 0.25858
}

Semantic roles & 50–950 ramp

primary
#A671EA
secondary
#DEEEC9
accent
#D60F7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A671EA

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

Preview Lab → · Contrast checker → · Palette generator →

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