#A772DB#A772DB

#A772DB is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.0% C 0.159 H 305.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A772DB
RGBrgb(167, 114, 219)
HSLhsl(270, 59%, 65%)
HSVhsv(270, 48%, 86%)
CMYKcmyk(23.7%, 47.9%, 0%, 14.1%)
CIE-LABlab(57.43, 40.98, -46.07)
CIE-LCHlch(57.43, 61.66, 311.65°)
OKLaboklab(64.99% 0.0928 -0.129)
OKLCHoklch(64.99% 0.159 305.7)
XYZxyz(34.7372, 25.3648, 70.0700)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772DB #A6DB72
analogous
#7372DB #A772DB #DB72DA
triadic
#A772DB #DBA772 #72DBA7
tetradic
#A772DB #DB7372 #A6DB72 #72DADB
square
#A772DB #DB7372 #A6DB72 #72DADB
split-complementary
#A772DB #DADB72 #72DB73
monochromatic
#6A2BA8 #8941CF #A772DB #C5A3E7 #E4D4F4

Accessibility & contrast

On white

3.46
#A772DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A772DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772DB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772DB#FFFFFF#000000##000000
##A772DB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#638AD8
Tritanopia (blue-blind)
#9F849C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a772db;
/* rgb */ color: rgb(167, 114, 219);
/* oklch */ color: oklch(65.0% 0.159 305.7);
Tailwind
colors: {
  custom: {
    50: '#c39ce6',
    500: '#a772db',
    950: '#000000',
  },
}
SCSS
$custom: #a772db;
$custom-light: #c39ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#a772db",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 270.286,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64989,
    "c": 0.1589,
    "h": 305.7
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#A772DB
secondary
#D4E6C3
accent
#C71F72
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A772DB

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

Preview Lab → · Contrast checker → · Palette generator →

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