#AF76DB#AF76DB

#AF76DB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.155 H 308.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF76DB
RGBrgb(175, 118, 219)
HSLhsl(274, 58%, 66%)
HSVhsv(274, 46%, 86%)
CMYKcmyk(20.1%, 46.1%, 0%, 14.1%)
CIE-LABlab(59.15, 40.98, -43.30)
CIE-LCHlch(59.15, 59.62, 313.42°)
OKLaboklab(66.46% 0.097 -0.1207)
OKLCHoklch(66.46% 0.155 308.8)
XYZxyz(36.9414, 27.1858, 70.3054)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76DB #A2DB76
analogous
#7C76DB #AF76DB #DB76D5
triadic
#AF76DB #DBAF76 #76DBAF
tetradic
#AF76DB #DB7C76 #A2DB76 #76D5DB
square
#AF76DB #DB7C76 #A2DB76 #76D5DB
split-complementary
#AF76DB #D5DB76 #76DB7C
monochromatic
#732DAA #9346CE #AF76DB #CBA6E8 #E8D7F4

Accessibility & contrast

On white

3.26
#AF76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AF76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76DB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76DB#FFFFFF#000000##000000
##AF76DB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDF
Deuteranopia (green-blind)
#6D8FD8
Tritanopia (blue-blind)
#A9869E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af76db;
/* rgb */ color: rgb(175, 118, 219);
/* oklch */ color: oklch(66.5% 0.155 308.8);
Tailwind
colors: {
  custom: {
    50: '#c99fe6',
    500: '#af76db',
    950: '#000000',
  },
}
SCSS
$custom: #af76db;
$custom-light: #c99fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#af76db",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 273.861,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.1549,
    "h": 308.8
  },
  "luminance": 0.27185
}

Semantic roles & 50–950 ramp

primary
#AF76DB
secondary
#D4E7C6
accent
#C62068
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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