#A774F9#A774F9

#A774F9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.0% C 0.192 H 298.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A774F9
RGBrgb(167, 116, 249)
HSLhsl(263, 92%, 72%)
HSVhsv(263, 53%, 98%)
CMYKcmyk(32.9%, 53.4%, 0%, 2.4%)
CIE-LABlab(59.48, 47.09, -59.53)
CIE-LCHlch(59.48, 75.90, 308.35°)
OKLaboklab(67.03% 0.0926 -0.1683)
OKLCHoklch(67.03% 0.192 298.8)
XYZxyz(39.2765, 27.5454, 92.8517)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774F9 #C6F974
analogous
#7484F9 #A774F9 #EA74F9
triadic
#A774F9 #F9A774 #74F9A7
tetradic
#A774F9 #F97484 #C6F974 #74F9EA
square
#A774F9 #F97484 #C6F974 #74F9EA
split-complementary
#A774F9 #F9EA74 #84F974
monochromatic
#5F0AE9 #8239F6 #A774F9 #CCAFFC #ECE2FE

Accessibility & contrast

On white

3.23
#A774F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#A774F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774F9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774F9#FFFFFF#000000##000000
##A774F91.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFD
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#958EAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a774f9;
/* rgb */ color: rgb(167, 116, 249);
/* oklch */ color: oklch(67.0% 0.192 298.8);
Tailwind
colors: {
  custom: {
    50: '#c59dfc',
    500: '#a774f9',
    950: '#000000',
  },
}
SCSS
$custom: #a774f9;
$custom-light: #c59dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a774f9",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 263.008,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67032,
    "c": 0.19211,
    "h": 298.8
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A774F9

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

Preview Lab → · Contrast checker → · Palette generator →

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