#A674F6#A674F6

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

Color values

HEX#A674F6
RGBrgb(166, 116, 246)
HSLhsl(263, 88%, 71%)
HSVhsv(263, 53%, 96%)
CMYKcmyk(32.5%, 52.8%, 0%, 3.5%)
CIE-LABlab(59.21, 46.11, -58.31)
CIE-LCHlch(59.21, 74.34, 308.34°)
OKLaboklab(66.76% 0.0912 -0.1648)
OKLCHoklch(66.76% 0.188 299)
XYZxyz(38.6018, 27.2512, 90.3972)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674F6 #C4F674
analogous
#7483F6 #A674F6 #E774F6
triadic
#A674F6 #F6A674 #74F6A6
tetradic
#A674F6 #F67483 #C4F674 #74F6E7
square
#A674F6 #F67483 #C4F674 #74F6E7
split-complementary
#A674F6 #F6E774 #83F674
monochromatic
#600FE1 #813BF2 #A674F6 #CBADFA #EDE2FD

Accessibility & contrast

On white

3.26
#A674F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A674F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674F6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674F6#FFFFFF#000000##000000
##A674F61.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EFA
Deuteranopia (green-blind)
#508DF3
Tritanopia (blue-blind)
#958EAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a674f6;
/* rgb */ color: rgb(166, 116, 246);
/* oklch */ color: oklch(66.8% 0.188 299.0);
Tailwind
colors: {
  custom: {
    50: '#c49dfa',
    500: '#a674f6',
    950: '#000000',
  },
}
SCSS
$custom: #a674f6;
$custom-light: #c49dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a674f6",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 263.077,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.18833,
    "h": 299
  },
  "luminance": 0.27252
}

Semantic roles & 50–950 ramp

primary
#A674F6
secondary
#E7F4D2
accent
#E4018D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674F6

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

Preview Lab → · Contrast checker → · Palette generator →

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