#A774F8#A774F8

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

Color values

HEX#A774F8
RGBrgb(167, 116, 248)
HSLhsl(263, 90%, 71%)
HSVhsv(263, 53%, 97%)
CMYKcmyk(32.7%, 53.2%, 0%, 2.7%)
CIE-LABlab(59.42, 46.85, -59.07)
CIE-LCHlch(59.42, 75.39, 308.42°)
OKLaboklab(66.97% 0.0925 -0.167)
OKLCHoklch(66.97% 0.191 299)
XYZxyz(39.1209, 27.4832, 92.0325)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774F8 #C5F874
analogous
#7483F8 #A774F8 #E974F8
triadic
#A774F8 #F8A774 #74F8A7
tetradic
#A774F8 #F87483 #C5F874 #74F8E9
square
#A774F8 #F87483 #C5F874 #74F8E9
split-complementary
#A774F8 #F8E974 #83F874
monochromatic
#600CE6 #823AF5 #A774F8 #CCAEFB #EDE2FE

Accessibility & contrast

On white

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

On black

6.50
#A774F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774F8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774F8#FFFFFF#000000##000000
##A774F81.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a774f8;
/* rgb */ color: rgb(167, 116, 248);
/* oklch */ color: oklch(67.0% 0.191 299.0);
Tailwind
colors: {
  custom: {
    50: '#c59dfb',
    500: '#a774f8',
    950: '#000000',
  },
}
SCSS
$custom: #a774f8;
$custom-light: #c59dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a774f8",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 263.182,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66971,
    "c": 0.1909,
    "h": 299
  },
  "luminance": 0.27484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A774F8

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

Preview Lab → · Contrast checker → · Palette generator →

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