#A770E4#A770E4

#A770E4 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.173 H 303.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A770E4
RGBrgb(167, 112, 228)
HSLhsl(268, 68%, 67%)
HSVhsv(268, 51%, 89%)
CMYKcmyk(26.8%, 50.9%, 0%, 10.6%)
CIE-LABlab(57.47, 44.19, -51.06)
CIE-LCHlch(57.47, 67.52, 310.87°)
OKLaboklab(65.17% 0.0964 -0.1435)
OKLCHoklch(65.17% 0.173 303.9)
XYZxyz(35.7311, 25.4054, 76.4051)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770E4 #ADE470
analogous
#7073E4 #A770E4 #E170E4
triadic
#A770E4 #E4A770 #70E4A7
tetradic
#A770E4 #E47073 #ADE470 #70E4E1
square
#A770E4 #E47073 #ADE470 #70E4E1
split-complementary
#A770E4 #E4E170 #73E470
monochromatic
#6923B7 #873DDA #A770E4 #C7A3EE #E6D7F7

Accessibility & contrast

On white

3.45
#A770E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A770E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770E4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770E4#FFFFFF#000000##000000
##A770E41.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E8
Deuteranopia (green-blind)
#5B8AE1
Tritanopia (blue-blind)
#9C85A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a770e4;
/* rgb */ color: rgb(167, 112, 228);
/* oklch */ color: oklch(65.2% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#c49aed',
    500: '#a770e4',
    950: '#000000',
  },
}
SCSS
$custom: #a770e4;
$custom-light: #c49aed;
$custom-dark: #000000;
JSON
{
  "hex": "#a770e4",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 268.448,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6517,
    "c": 0.17288,
    "h": 303.9
  },
  "luminance": 0.25405
}

Semantic roles & 50–950 ramp

primary
#A770E4
secondary
#D9EBC5
accent
#D01578
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A770E4

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

Preview Lab → · Contrast checker → · Palette generator →

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