#A770EC#A770EC

#A770EC is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.182 H 302.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A770EC
RGBrgb(167, 112, 236)
HSLhsl(267, 77%, 68%)
HSVhsv(267, 53%, 93%)
CMYKcmyk(29.2%, 52.5%, 0%, 7.5%)
CIE-LABlab(57.90, 46.09, -54.83)
CIE-LCHlch(57.90, 71.63, 310.05°)
OKLaboklab(65.63% 0.097 -0.1545)
OKLCHoklch(65.63% 0.182 302.1)
XYZxyz(36.8674, 25.8599, 82.3898)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770EC #B5EC70
analogous
#7077EC #A770EC #E570EC
triadic
#A770EC #ECA770 #70ECA7
tetradic
#A770EC #EC7077 #B5EC70 #70ECE5
square
#A770EC #EC7077 #B5EC70 #70ECE5
split-complementary
#A770EC #ECE570 #77EC70
monochromatic
#671AC7 #863AE5 #A770EC #C8A6F3 #E9DCFA

Accessibility & contrast

On white

3.40
#A770EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A770EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770EC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770EC#FFFFFF#000000##000000
##A770EC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#9A88A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a770ec;
/* rgb */ color: rgb(167, 112, 236);
/* oklch */ color: oklch(65.6% 0.182 302.1);
Tailwind
colors: {
  custom: {
    50: '#c49bf3',
    500: '#a770ec',
    950: '#000000',
  },
}
SCSS
$custom: #a770ec;
$custom-light: #c49bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a770ec",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 266.613,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65634,
    "c": 0.18245,
    "h": 302.1
  },
  "luminance": 0.2586
}

Semantic roles & 50–950 ramp

primary
#A770EC
secondary
#DEEFC9
accent
#D90D7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A770EC

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

Preview Lab → · Contrast checker → · Palette generator →

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