#A773F8#A773F8

#A773F8 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.192 H 299.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A773F8
RGBrgb(167, 115, 248)
HSLhsl(263, 90%, 71%)
HSVhsv(263, 54%, 97%)
CMYKcmyk(32.7%, 53.6%, 0%, 2.7%)
CIE-LABlab(59.21, 47.39, -59.40)
CIE-LCHlch(59.21, 75.99, 308.58°)
OKLaboklab(66.82% 0.0938 -0.1679)
OKLCHoklch(66.82% 0.192 299.2)
XYZxyz(39.0063, 27.2539, 91.9942)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A773F8 #C4F873
analogous
#7381F8 #A773F8 #EA73F8
triadic
#A773F8 #F8A773 #73F8A7
tetradic
#A773F8 #F87381 #C4F873 #73F8EA
square
#A773F8 #F87381 #C4F873 #73F8EA
split-complementary
#A773F8 #F8EA73 #81F873
monochromatic
#610BE5 #8239F5 #A773F8 #CCADFB #EDE2FE

Accessibility & contrast

On white

3.26
#A773F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A773F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A773F8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A773F8#FFFFFF#000000##000000
##A773F81.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#4E8DF5
Tritanopia (blue-blind)
#968DAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a773f8;
/* rgb */ color: rgb(167, 115, 248);
/* oklch */ color: oklch(66.8% 0.192 299.2);
Tailwind
colors: {
  custom: {
    50: '#c59dfb',
    500: '#a773f8',
    950: '#000000',
  },
}
SCSS
$custom: #a773f8;
$custom-light: #c59dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a773f8",
  "rgb": {
    "r": 167,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 263.459,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.19236,
    "h": 299.2
  },
  "luminance": 0.27254
}

Semantic roles & 50–950 ramp

primary
#A773F8
secondary
#E7F5D2
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A773F8

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

Preview Lab → · Contrast checker → · Palette generator →

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