#A774FB#A774FB

#A774FB is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.195 H 298.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A774FB
RGBrgb(167, 116, 251)
HSLhsl(263, 94%, 72%)
HSVhsv(263, 54%, 98%)
CMYKcmyk(33.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.59, 47.59, -60.45)
CIE-LCHlch(59.59, 76.93, 308.21°)
OKLaboklab(67.15% 0.0927 -0.171)
OKLCHoklch(67.15% 0.195 298.5)
XYZxyz(39.5901, 27.6709, 94.5033)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774FB #C8FB74
analogous
#7484FB #A774FB #EB74FB
triadic
#A774FB #FBA774 #74FBA7
tetradic
#A774FB #FB7484 #C8FB74 #74FBEB
square
#A774FB #FB7484 #C8FB74 #74FBEB
split-complementary
#A774FB #FBEB74 #84FB74
monochromatic
#5E07EE #8139F9 #A774FB #CDAFFD #ECE1FE

Accessibility & contrast

On white

3.21
#A774FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A774FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774FB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774FB#FFFFFF#000000##000000
##A774FB1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#958FAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a774fb;
/* rgb */ color: rgb(167, 116, 251);
/* oklch */ color: oklch(67.2% 0.195 298.5);
Tailwind
colors: {
  custom: {
    50: '#c59dfd',
    500: '#a774fb',
    950: '#000000',
  },
}
SCSS
$custom: #a774fb;
$custom-light: #c59dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a774fb",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 262.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.19451,
    "h": 298.5
  },
  "luminance": 0.27671
}

Semantic roles & 50–950 ramp

primary
#A774FB
secondary
#EAF6D4
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A774FB

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

Preview Lab → · Contrast checker → · Palette generator →

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