#A770DF#A770DF

#A770DF is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.167 H 305.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A770DF
RGBrgb(167, 112, 223)
HSLhsl(270, 63%, 66%)
HSVhsv(270, 50%, 87%)
CMYKcmyk(25.1%, 49.8%, 0%, 12.5%)
CIE-LABlab(57.20, 43.01, -48.67)
CIE-LCHlch(57.20, 64.95, 311.46°)
OKLaboklab(64.89% 0.0959 -0.1365)
OKLCHoklch(64.89% 0.167 305.1)
XYZxyz(35.0470, 25.1317, 72.8023)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770DF #A8DF70
analogous
#7070DF #A770DF #DF70DF
triadic
#A770DF #DFA770 #70DFA7
tetradic
#A770DF #DF7070 #A8DF70 #70DFDF
square
#A770DF #DF7070 #A8DF70 #70DFDF
split-complementary
#A770DF #DFDF70 #70DF70
monochromatic
#6A27AE #883ED4 #A770DF #C6A2EA #E5D4F5

Accessibility & contrast

On white

3.48
#A770DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A770DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770DF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770DF#FFFFFF#000000##000000
##A770DF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E3
Deuteranopia (green-blind)
#5E8ADC
Tritanopia (blue-blind)
#9E849D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a770df;
/* rgb */ color: rgb(167, 112, 223);
/* oklch */ color: oklch(64.9% 0.167 305.1);
Tailwind
colors: {
  custom: {
    50: '#c49ae9',
    500: '#a770df',
    950: '#000000',
  },
}
SCSS
$custom: #a770df;
$custom-light: #c49ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a770df",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 269.73,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64888,
    "c": 0.16689,
    "h": 305.1
  },
  "luminance": 0.25132
}

Semantic roles & 50–950 ramp

primary
#A770DF
secondary
#D6E8C3
accent
#CB1A74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A770DF

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

Preview Lab → · Contrast checker → · Palette generator →

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