#A674F7#A674F7

#A674F7 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.190 H 298.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A674F7
RGBrgb(166, 116, 247)
HSLhsl(263, 89%, 71%)
HSVhsv(263, 53%, 97%)
CMYKcmyk(32.8%, 53%, 0%, 3.1%)
CIE-LABlab(59.26, 46.36, -58.77)
CIE-LCHlch(59.26, 74.85, 308.27°)
OKLaboklab(66.82% 0.0913 -0.1661)
OKLCHoklch(66.82% 0.19 298.8)
XYZxyz(38.7557, 27.3128, 91.2077)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674F7 #C5F774
analogous
#7483F7 #A674F7 #E874F7
triadic
#A674F7 #F7A674 #74F7A6
tetradic
#A674F7 #F77483 #C5F774 #74F7E8
square
#A674F7 #F77483 #C5F774 #74F7E8
split-complementary
#A674F7 #F7E874 #83F774
monochromatic
#5F0DE4 #813AF4 #A674F7 #CBAEFA #ECE2FD

Accessibility & contrast

On white

3.25
#A674F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A674F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674F7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674F7#FFFFFF#000000##000000
##A674F71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#4F8DF4
Tritanopia (blue-blind)
#958EAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a674f7;
/* rgb */ color: rgb(166, 116, 247);
/* oklch */ color: oklch(66.8% 0.190 298.8);
Tailwind
colors: {
  custom: {
    50: '#c49dfa',
    500: '#a674f7',
    950: '#000000',
  },
}
SCSS
$custom: #a674f7;
$custom-light: #c49dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a674f7",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 262.901,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.18954,
    "h": 298.8
  },
  "luminance": 0.27313
}

Semantic roles & 50–950 ramp

primary
#A674F7
secondary
#E7F5D2
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674F7

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

Preview Lab → · Contrast checker → · Palette generator →

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