#A674E7#A674E7

#A674E7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.9% C 0.170 H 302.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A674E7
RGBrgb(166, 116, 231)
HSLhsl(266, 71%, 68%)
HSVhsv(266, 50%, 91%)
CMYKcmyk(28.1%, 49.8%, 0%, 9.4%)
CIE-LABlab(58.38, 42.45, -51.28)
CIE-LCHlch(58.38, 66.57, 309.62°)
OKLaboklab(65.88% 0.0902 -0.1442)
OKLCHoklch(65.88% 0.17 302)
XYZxyz(36.3918, 26.3672, 78.7580)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674E7 #B5E774
analogous
#747BE7 #A674E7 #DF74E7
triadic
#A674E7 #E7A674 #74E7A6
tetradic
#A674E7 #E7747B #B5E774 #74E7DF
square
#A674E7 #E7747B #B5E774 #74E7DF
split-complementary
#A674E7 #E7DF74 #7BE774
monochromatic
#6621C0 #8540DE #A674E7 #C7A8F0 #E9DCF9

Accessibility & contrast

On white

3.35
#A674E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A674E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674E7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674E7#FFFFFF#000000##000000
##A674E71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEB
Deuteranopia (green-blind)
#5C8CE4
Tritanopia (blue-blind)
#9A89A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a674e7;
/* rgb */ color: rgb(166, 116, 231);
/* oklch */ color: oklch(65.9% 0.170 302.0);
Tailwind
colors: {
  custom: {
    50: '#c39def',
    500: '#a674e7',
    950: '#000000',
  },
}
SCSS
$custom: #a674e7;
$custom-light: #c39def;
$custom-dark: #000000;
JSON
{
  "hex": "#a674e7",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 266.087,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.17009,
    "h": 302
  },
  "luminance": 0.26367
}

Semantic roles & 50–950 ramp

primary
#A674E7
secondary
#DEEDCA
accent
#D3137F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A674E7

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

Preview Lab → · Contrast checker → · Palette generator →

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