#A774EB#A774EB

#A774EB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.175 H 301.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A774EB
RGBrgb(167, 116, 235)
HSLhsl(266, 75%, 69%)
HSVhsv(266, 51%, 92%)
CMYKcmyk(28.9%, 50.6%, 0%, 7.8%)
CIE-LABlab(58.70, 43.67, -53.00)
CIE-LCHlch(58.70, 68.68, 309.49°)
OKLaboklab(66.21% 0.0918 -0.1492)
OKLCHoklch(66.21% 0.175 301.6)
XYZxyz(37.1737, 26.7043, 81.7772)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774EB #B8EB74
analogous
#747DEB #A774EB #E374EB
triadic
#A774EB #EBA774 #74EBA7
tetradic
#A774EB #EB747D #B8EB74 #74EBE3
square
#A774EB #EB747D #B8EB74 #74EBE3
split-complementary
#A774EB #EBE374 #7DEB74
monochromatic
#661DC8 #853EE3 #A774EB #C9AAF3 #EBDFFA

Accessibility & contrast

On white

3.31
#A774EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A774EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774EB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774EB#FFFFFF#000000##000000
##A774EB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#5A8DE8
Tritanopia (blue-blind)
#9A8AA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a774eb;
/* rgb */ color: rgb(167, 116, 235);
/* oklch */ color: oklch(66.2% 0.175 301.6);
Tailwind
colors: {
  custom: {
    50: '#c49df2',
    500: '#a774eb',
    950: '#000000',
  },
}
SCSS
$custom: #a774eb;
$custom-light: #c49df2;
$custom-dark: #000000;
JSON
{
  "hex": "#a774eb",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 265.714,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66206,
    "c": 0.17516,
    "h": 301.6
  },
  "luminance": 0.26704
}

Semantic roles & 50–950 ramp

primary
#A774EB
secondary
#E0EFCC
accent
#D70F81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A774EB

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

Preview Lab → · Contrast checker → · Palette generator →

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