#A671EF#A671EF

#A671EF is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.184 H 300.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A671EF
RGBrgb(166, 113, 239)
HSLhsl(265, 80%, 69%)
HSVhsv(265, 53%, 94%)
CMYKcmyk(30.5%, 52.7%, 0%, 6.3%)
CIE-LABlab(58.18, 46.03, -56.07)
CIE-LCHlch(58.18, 72.54, 309.38°)
OKLaboklab(65.87% 0.0946 -0.1582)
OKLCHoklch(65.87% 0.184 300.9)
XYZxyz(37.2074, 26.1491, 84.7317)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A671EF #BAEF71
analogous
#717BEF #A671EF #E571EF
triadic
#A671EF #EFA671 #71EFA6
tetradic
#A671EF #EF717B #BAEF71 #71EFE5
square
#A671EF #EF717B #BAEF71 #71EFE5
split-complementary
#A671EF #EFE571 #7BEF71
monochromatic
#6417CE #843AE9 #A671EF #C8A8F5 #EBDFFB

Accessibility & contrast

On white

3.37
#A671EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A671EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A671EF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A671EF#FFFFFF#000000##000000
##A671EF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#9889A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a671ef;
/* rgb */ color: rgb(166, 113, 239);
/* oklch */ color: oklch(65.9% 0.184 300.9);
Tailwind
colors: {
  custom: {
    50: '#c49bf5',
    500: '#a671ef',
    950: '#000000',
  },
}
SCSS
$custom: #a671ef;
$custom-light: #c49bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a671ef",
  "rgb": {
    "r": 166,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 265.238,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.18434,
    "h": 300.9
  },
  "luminance": 0.26149
}

Semantic roles & 50–950 ramp

primary
#A671EF
secondary
#E1F0CB
accent
#DC0983
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A671EF

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

Preview Lab → · Contrast checker → · Palette generator →

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