#A770E8#A770E8

#A770E8 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.178 H 303.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A770E8
RGBrgb(167, 112, 232)
HSLhsl(268, 72%, 67%)
HSVhsv(268, 52%, 91%)
CMYKcmyk(28%, 51.7%, 0%, 9%)
CIE-LABlab(57.68, 45.14, -52.95)
CIE-LCHlch(57.68, 69.58, 310.45°)
OKLaboklab(65.4% 0.0967 -0.149)
OKLCHoklch(65.4% 0.178 303)
XYZxyz(36.2928, 25.6301, 79.3634)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770E8 #B1E870
analogous
#7075E8 #A770E8 #E370E8
triadic
#A770E8 #E8A770 #70E8A7
tetradic
#A770E8 #E87075 #B1E870 #70E8E3
square
#A770E8 #E87075 #B1E870 #70E8E3
split-complementary
#A770E8 #E8E370 #75E870
monochromatic
#681FBF #873BE0 #A770E8 #C7A5F0 #E8D9F9

Accessibility & contrast

On white

3.43
#A770E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A770E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770E8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770E8#FFFFFF#000000##000000
##A770E81.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EC
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#9B86A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a770e8;
/* rgb */ color: rgb(167, 112, 232);
/* oklch */ color: oklch(65.4% 0.178 303.0);
Tailwind
colors: {
  custom: {
    50: '#c49af0',
    500: '#a770e8',
    950: '#000000',
  },
}
SCSS
$custom: #a770e8;
$custom-light: #c49af0;
$custom-dark: #000000;
JSON
{
  "hex": "#a770e8",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 267.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.654,
    "c": 0.17766,
    "h": 303
  },
  "luminance": 0.2563
}

Semantic roles & 50–950 ramp

primary
#A770E8
secondary
#DBEDC7
accent
#D4117B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A770E8

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

Preview Lab → · Contrast checker → · Palette generator →

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