#A674F8#A674F8

#A674F8 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.9% C 0.191 H 298.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A674F8
RGBrgb(166, 116, 248)
HSLhsl(263, 90%, 71%)
HSVhsv(263, 53%, 97%)
CMYKcmyk(33.1%, 53.2%, 0%, 2.7%)
CIE-LABlab(59.32, 46.61, -59.23)
CIE-LCHlch(59.32, 75.37, 308.20°)
OKLaboklab(66.88% 0.0913 -0.1675)
OKLCHoklch(66.88% 0.191 298.6)
XYZxyz(38.9104, 27.3747, 92.0226)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674F8 #C6F874
analogous
#7484F8 #A674F8 #E874F8
triadic
#A674F8 #F8A674 #74F8A6
tetradic
#A674F8 #F87484 #C6F874 #74F8E8
square
#A674F8 #F87484 #C6F874 #74F8E8
split-complementary
#A674F8 #F8E874 #84F874
monochromatic
#5E0CE6 #813AF5 #A674F8 #CBAEFB #ECE2FE

Accessibility & contrast

On white

3.24
#A674F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A674F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674F8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674F8#FFFFFF#000000##000000
##A674F81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFC
Deuteranopia (green-blind)
#4E8EF5
Tritanopia (blue-blind)
#948EAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a674f8;
/* rgb */ color: rgb(166, 116, 248);
/* oklch */ color: oklch(66.9% 0.191 298.6);
Tailwind
colors: {
  custom: {
    50: '#c49dfb',
    500: '#a674f8',
    950: '#000000',
  },
}
SCSS
$custom: #a674f8;
$custom-light: #c49dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a674f8",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 262.727,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66875,
    "c": 0.19076,
    "h": 298.6
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#A674F8
secondary
#E8F5D3
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674F8

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

Preview Lab → · Contrast checker → · Palette generator →

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