#A674E9#A674E9

#A674E9 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.0% C 0.173 H 301.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A674E9
RGBrgb(166, 116, 233)
HSLhsl(266, 73%, 68%)
HSVhsv(266, 50%, 91%)
CMYKcmyk(28.8%, 50.2%, 0%, 8.6%)
CIE-LABlab(58.49, 42.93, -52.23)
CIE-LCHlch(58.49, 67.61, 309.42°)
OKLaboklab(65.99% 0.0904 -0.147)
OKLCHoklch(65.99% 0.173 301.6)
XYZxyz(36.6759, 26.4809, 80.2541)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674E9 #B7E974
analogous
#747CE9 #A674E9 #E074E9
triadic
#A674E9 #E9A674 #74E9A6
tetradic
#A674E9 #E9747C #B7E974 #74E9E0
square
#A674E9 #E9747C #B7E974 #74E9E0
split-complementary
#A674E9 #E9E074 #7CE974
monochromatic
#651FC4 #843FE1 #A674E9 #C8A9F1 #EADEFA

Accessibility & contrast

On white

3.34
#A674E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A674E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674E9
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674E9#FFFFFF#000000##000000
##A674E91.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CED
Deuteranopia (green-blind)
#5B8CE6
Tritanopia (blue-blind)
#998AA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a674e9;
/* rgb */ color: rgb(166, 116, 233);
/* oklch */ color: oklch(66.0% 0.173 301.6);
Tailwind
colors: {
  custom: {
    50: '#c39df0',
    500: '#a674e9',
    950: '#000000',
  },
}
SCSS
$custom: #a674e9;
$custom-light: #c39df0;
$custom-dark: #000000;
JSON
{
  "hex": "#a674e9",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 265.641,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65993,
    "c": 0.17252,
    "h": 301.6
  },
  "luminance": 0.26481
}

Semantic roles & 50–950 ramp

primary
#A674E9
secondary
#DFEECB
accent
#D51181
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674E9

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

Preview Lab → · Contrast checker → · Palette generator →

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