#A770EA#A770EA

#A770EA is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.180 H 302.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A770EA
RGBrgb(167, 112, 234)
HSLhsl(267, 74%, 68%)
HSVhsv(267, 52%, 92%)
CMYKcmyk(28.6%, 52.1%, 0%, 8.2%)
CIE-LABlab(57.79, 45.62, -53.89)
CIE-LCHlch(57.79, 70.60, 310.25°)
OKLaboklab(65.52% 0.0968 -0.1518)
OKLCHoklch(65.52% 0.18 302.5)
XYZxyz(36.5785, 25.7443, 80.8680)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770EA #B3EA70
analogous
#7076EA #A770EA #E470EA
triadic
#A770EA #EAA770 #70EAA7
tetradic
#A770EA #EA7076 #B3EA70 #70EAE4
square
#A770EA #EA7076 #B3EA70 #70EAE4
split-complementary
#A770EA #EAE470 #76EA70
monochromatic
#681DC3 #863BE2 #A770EA #C8A5F2 #E9DBFA

Accessibility & contrast

On white

3.42
#A770EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A770EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770EA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770EA#FFFFFF#000000##000000
##A770EA1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#568BE7
Tritanopia (blue-blind)
#9B87A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a770ea;
/* rgb */ color: rgb(167, 112, 234);
/* oklch */ color: oklch(65.5% 0.180 302.5);
Tailwind
colors: {
  custom: {
    50: '#c49af1',
    500: '#a770ea',
    950: '#000000',
  },
}
SCSS
$custom: #a770ea;
$custom-light: #c49af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a770ea",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 267.049,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65517,
    "c": 0.18006,
    "h": 302.5
  },
  "luminance": 0.25744
}

Semantic roles & 50–950 ramp

primary
#A770EA
secondary
#DDEEC8
accent
#D70F7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A770EA

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

Preview Lab → · Contrast checker → · Palette generator →

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