#A774FE#A774FE

#A774FE is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.198 H 297.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A774FE
RGBrgb(167, 116, 254)
HSLhsl(262, 99%, 73%)
HSVhsv(262, 54%, 100%)
CMYKcmyk(34.3%, 54.3%, 0%, 0.4%)
CIE-LABlab(59.76, 48.34, -61.82)
CIE-LCHlch(59.76, 78.48, 308.02°)
OKLaboklab(67.34% 0.0928 -0.175)
OKLCHoklch(67.34% 0.198 297.9)
XYZxyz(40.0667, 27.8615, 97.0136)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774FE #CBFE74
analogous
#7486FE #A774FE #EC74FE
triadic
#A774FE #FEA774 #74FEA7
tetradic
#A774FE #FE7486 #CBFE74 #74FEEC
square
#A774FE #FE7486 #CBFE74 #74FEEC
split-complementary
#A774FE #FEEC74 #86FE74
monochromatic
#5C02F6 #8137FE #A774FE #CDB1FE #ECE1FF

Accessibility & contrast

On white

3.20
#A774FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A774FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774FE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774FE#FFFFFF#000000##000000
##A774FE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#498FFB
Tritanopia (blue-blind)
#9490AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a774fe;
/* rgb */ color: rgb(167, 116, 254);
/* oklch */ color: oklch(67.3% 0.198 297.9);
Tailwind
colors: {
  custom: {
    50: '#c59dff',
    500: '#a774fe',
    950: '#000000',
  },
}
SCSS
$custom: #a774fe;
$custom-light: #c59dff;
$custom-dark: #000000;
JSON
{
  "hex": "#a774fe",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 262.174,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.19811,
    "h": 297.9
  },
  "luminance": 0.27862
}

Semantic roles & 50–950 ramp

primary
#A774FE
secondary
#EAF7D4
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A774FE

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

Preview Lab → · Contrast checker → · Palette generator →

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