#A770EB#A770EB

#A770EB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.181 H 302.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A770EB
RGBrgb(167, 112, 235)
HSLhsl(267, 75%, 68%)
HSVhsv(267, 52%, 92%)
CMYKcmyk(28.9%, 52.3%, 0%, 7.8%)
CIE-LABlab(57.85, 45.85, -54.36)
CIE-LCHlch(57.85, 71.12, 310.15°)
OKLaboklab(65.58% 0.0969 -0.1532)
OKLCHoklch(65.58% 0.181 302.3)
XYZxyz(36.7225, 25.8020, 81.6268)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770EB #B4EB70
analogous
#7076EB #A770EB #E470EB
triadic
#A770EB #EBA770 #70EBA7
tetradic
#A770EB #EB7076 #B4EB70 #70EBE4
square
#A770EB #EB7076 #B4EB70 #70EBE4
split-complementary
#A770EB #EBE470 #76EB70
monochromatic
#671CC5 #863AE3 #A770EB #C8A6F3 #E9DBFA

Accessibility & contrast

On white

3.41
#A770EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A770EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770EB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770EB#FFFFFF#000000##000000
##A770EB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#9A87A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a770eb;
/* rgb */ color: rgb(167, 112, 235);
/* oklch */ color: oklch(65.6% 0.181 302.3);
Tailwind
colors: {
  custom: {
    50: '#c49bf2',
    500: '#a770eb',
    950: '#000000',
  },
}
SCSS
$custom: #a770eb;
$custom-light: #c49bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a770eb",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 266.829,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65575,
    "c": 0.18125,
    "h": 302.3
  },
  "luminance": 0.25802
}

Semantic roles & 50–950 ramp

primary
#A770EB
secondary
#DDEEC9
accent
#D80E7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A770EB

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

Preview Lab → · Contrast checker → · Palette generator →

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