#A770DC#A770DC

#A770DC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.7% C 0.163 H 305.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A770DC
RGBrgb(167, 112, 220)
HSLhsl(271, 61%, 65%)
HSVhsv(271, 49%, 86%)
CMYKcmyk(24.1%, 49.1%, 0%, 13.7%)
CIE-LABlab(57.05, 42.31, -47.24)
CIE-LCHlch(57.05, 63.41, 311.85°)
OKLaboklab(64.72% 0.0956 -0.1324)
OKLCHoklch(64.72% 0.163 305.9)
XYZxyz(34.6461, 24.9714, 70.6910)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770DC #A5DC70
analogous
#7170DC #A770DC #DC70DB
triadic
#A770DC #DCA770 #70DCA7
tetradic
#A770DC #DC7170 #A5DC70 #70DBDC
square
#A770DC #DC7170 #A5DC70 #70DBDC
split-complementary
#A770DC #DBDC70 #70DC71
monochromatic
#6A29A8 #893FD0 #A770DC #C5A1E8 #E4D2F4

Accessibility & contrast

On white

3.50
#A770DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A770DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770DC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770DC#FFFFFF#000000##000000
##A770DC1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#9F839C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a770dc;
/* rgb */ color: rgb(167, 112, 220);
/* oklch */ color: oklch(64.7% 0.163 305.9);
Tailwind
colors: {
  custom: {
    50: '#c39ae7',
    500: '#a770dc',
    950: '#000000',
  },
}
SCSS
$custom: #a770dc;
$custom-light: #c39ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a770dc",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 270.556,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.1633,
    "h": 305.9
  },
  "luminance": 0.24971
}

Semantic roles & 50–950 ramp

primary
#A770DC
secondary
#D4E6C2
accent
#C81D71
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A770DC

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

Preview Lab → · Contrast checker → · Palette generator →

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