#A674E4#A674E4

#A674E4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.7% C 0.166 H 302.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A674E4
RGBrgb(166, 116, 228)
HSLhsl(267, 67%, 67%)
HSVhsv(267, 49%, 89%)
CMYKcmyk(27.2%, 49.1%, 0%, 10.6%)
CIE-LABlab(58.23, 41.73, -49.86)
CIE-LCHlch(58.23, 65.02, 309.93°)
OKLaboklab(65.71% 0.0899 -0.14)
OKLCHoklch(65.71% 0.166 302.7)
XYZxyz(35.9718, 26.1992, 76.5456)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674E4 #B2E474
analogous
#747AE4 #A674E4 #DE74E4
triadic
#A674E4 #E4A674 #74E4A6
tetradic
#A674E4 #E4747A #B2E474 #74E4DE
square
#A674E4 #E4747A #B2E474 #74E4DE
split-complementary
#A674E4 #E4DE74 #7AE474
monochromatic
#6724BA #8541DA #A674E4 #C7A7EE #E8DAF8

Accessibility & contrast

On white

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

On black

6.24
#A674E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674E4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674E4#FFFFFF#000000##000000
##A674E41.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#5F8CE1
Tritanopia (blue-blind)
#9B88A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a674e4;
/* rgb */ color: rgb(166, 116, 228);
/* oklch */ color: oklch(65.7% 0.166 302.7);
Tailwind
colors: {
  custom: {
    50: '#c39ded',
    500: '#a674e4',
    950: '#000000',
  },
}
SCSS
$custom: #a674e4;
$custom-light: #c39ded;
$custom-dark: #000000;
JSON
{
  "hex": "#a674e4",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 266.786,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65709,
    "c": 0.16642,
    "h": 302.7
  },
  "luminance": 0.26199
}

Semantic roles & 50–950 ramp

primary
#A674E4
secondary
#DCEBC8
accent
#CF167D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A674E4

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

Preview Lab → · Contrast checker → · Palette generator →

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