#A774F6#A774F6

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

Color values

HEX#A774F6
RGBrgb(167, 116, 246)
HSLhsl(264, 88%, 71%)
HSVhsv(264, 53%, 96%)
CMYKcmyk(32.1%, 52.8%, 0%, 3.5%)
CIE-LABlab(59.31, 46.35, -58.14)
CIE-LCHlch(59.31, 74.36, 308.56°)
OKLaboklab(66.85% 0.0925 -0.1642)
OKLCHoklch(66.85% 0.188 299.4)
XYZxyz(38.8123, 27.3598, 90.4071)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774F6 #C3F674
analogous
#7482F6 #A774F6 #E874F6
triadic
#A774F6 #F6A774 #74F6A7
tetradic
#A774F6 #F67482 #C3F674 #74F6E8
square
#A774F6 #F67482 #C3F674 #74F6E8
split-complementary
#A774F6 #F6E874 #82F674
monochromatic
#610FE1 #833BF2 #A774F6 #CBADFA #EDE2FD

Accessibility & contrast

On white

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

On black

6.47
#A774F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774F6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774F6#FFFFFF#000000##000000
##A774F61.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFA
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#968DAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a774f6;
/* rgb */ color: rgb(167, 116, 246);
/* oklch */ color: oklch(66.9% 0.188 299.4);
Tailwind
colors: {
  custom: {
    50: '#c59dfa',
    500: '#a774f6',
    950: '#000000',
  },
}
SCSS
$custom: #a774f6;
$custom-light: #c59dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a774f6",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 263.538,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66851,
    "c": 0.18849,
    "h": 299.4
  },
  "luminance": 0.2736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A774F6

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

Preview Lab → · Contrast checker → · Palette generator →

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