#A674EC#A674EC

#A674EC is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.176 H 300.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A674EC
RGBrgb(166, 116, 236)
HSLhsl(265, 76%, 69%)
HSVhsv(265, 51%, 93%)
CMYKcmyk(29.7%, 50.8%, 0%, 7.5%)
CIE-LABlab(58.65, 43.66, -53.64)
CIE-LCHlch(58.65, 69.16, 309.14°)
OKLaboklab(66.16% 0.0906 -0.1511)
OKLCHoklch(66.16% 0.176 300.9)
XYZxyz(37.1081, 26.6538, 82.5303)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674EC #BAEC74
analogous
#747EEC #A674EC #E274EC
triadic
#A674EC #ECA674 #74ECA6
tetradic
#A674EC #EC747E #BAEC74 #74ECE2
square
#A674EC #EC747E #BAEC74 #74ECE2
split-complementary
#A674EC #ECE274 #7EEC74
monochromatic
#641CCA #843EE5 #A674EC #C8AAF3 #EBE0FB

Accessibility & contrast

On white

3.32
#A674EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A674EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674EC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674EC#FFFFFF#000000##000000
##A674EC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CF0
Deuteranopia (green-blind)
#598CE9
Tritanopia (blue-blind)
#988BA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a674ec;
/* rgb */ color: rgb(166, 116, 236);
/* oklch */ color: oklch(66.2% 0.176 300.9);
Tailwind
colors: {
  custom: {
    50: '#c39df3',
    500: '#a674ec',
    950: '#000000',
  },
}
SCSS
$custom: #a674ec;
$custom-light: #c39df3;
$custom-dark: #000000;
JSON
{
  "hex": "#a674ec",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 265,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66165,
    "c": 0.17618,
    "h": 300.9
  },
  "luminance": 0.26654
}

Semantic roles & 50–950 ramp

primary
#A674EC
secondary
#E1EFCC
accent
#D80D84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674EC

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

Preview Lab → · Contrast checker → · Palette generator →

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