#A770DB#A770DB

#A770DB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.162 H 306.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A770DB
RGBrgb(167, 112, 219)
HSLhsl(271, 60%, 65%)
HSVhsv(271, 49%, 86%)
CMYKcmyk(23.7%, 48.9%, 0%, 14.1%)
CIE-LABlab(57.00, 42.08, -46.76)
CIE-LCHlch(57.00, 62.90, 311.99°)
OKLaboklab(64.67% 0.0955 -0.131)
OKLCHoklch(64.67% 0.162 306.1)
XYZxyz(34.5141, 24.9186, 69.9956)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770DB #A4DB70
analogous
#7170DB #A770DB #DB70DA
triadic
#A770DB #DBA770 #70DBA7
tetradic
#A770DB #DB7170 #A4DB70 #70DADB
square
#A770DB #DB7170 #A4DB70 #70DADB
split-complementary
#A770DB #DADB70 #70DB71
monochromatic
#6A2AA7 #893FCF #A770DB #C5A1E7 #E3D2F4

Accessibility & contrast

On white

3.51
#A770DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#A770DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770DB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770DB#FFFFFF#000000##000000
##A770DB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#9F829B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a770db;
/* rgb */ color: rgb(167, 112, 219);
/* oklch */ color: oklch(64.7% 0.162 306.1);
Tailwind
colors: {
  custom: {
    50: '#c39ae6',
    500: '#a770db',
    950: '#000000',
  },
}
SCSS
$custom: #a770db;
$custom-light: #c39ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a770db",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 270.841,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64666,
    "c": 0.16211,
    "h": 306.1
  },
  "luminance": 0.24918
}

Semantic roles & 50–950 ramp

primary
#A770DB
secondary
#D3E6C1
accent
#C71E70
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A770DB

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

Preview Lab → · Contrast checker → · Palette generator →

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