#A674EB#A674EB

#A674EB is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.175 H 301.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A674EB
RGBrgb(166, 116, 235)
HSLhsl(265, 75%, 69%)
HSVhsv(265, 51%, 92%)
CMYKcmyk(29.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(58.60, 43.42, -53.17)
CIE-LCHlch(58.60, 68.65, 309.23°)
OKLaboklab(66.11% 0.0905 -0.1497)
OKLCHoklch(66.11% 0.175 301.2)
XYZxyz(36.9632, 26.5958, 81.7673)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674EB #B9EB74
analogous
#747EEB #A674EB #E274EB
triadic
#A674EB #EBA674 #74EBA6
tetradic
#A674EB #EB747E #B9EB74 #74EBE2
square
#A674EB #EB747E #B9EB74 #74EBE2
split-complementary
#A674EB #EBE274 #7EEB74
monochromatic
#651DC8 #843EE3 #A674EB #C8AAF3 #EBDFFA

Accessibility & contrast

On white

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

On black

6.32
#A674EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674EB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674EB#FFFFFF#000000##000000
##A674EB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#998AA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a674eb;
/* rgb */ color: rgb(166, 116, 235);
/* oklch */ color: oklch(66.1% 0.175 301.2);
Tailwind
colors: {
  custom: {
    50: '#c39df2',
    500: '#a674eb',
    950: '#000000',
  },
}
SCSS
$custom: #a674eb;
$custom-light: #c39df2;
$custom-dark: #000000;
JSON
{
  "hex": "#a674eb",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 265.21,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.17497,
    "h": 301.2
  },
  "luminance": 0.26596
}

Semantic roles & 50–950 ramp

primary
#A674EB
secondary
#E0EFCC
accent
#D70F83
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674EB

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

Preview Lab → · Contrast checker → · Palette generator →

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