#AF76DD#AF76DD

#AF76DD is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.6% C 0.157 H 308.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF76DD
RGBrgb(175, 118, 221)
HSLhsl(273, 60%, 66%)
HSVhsv(273, 47%, 87%)
CMYKcmyk(20.8%, 46.6%, 0%, 13.3%)
CIE-LABlab(59.24, 41.43, -44.27)
CIE-LCHlch(59.24, 60.64, 313.10°)
OKLaboklab(66.57% 0.0973 -0.1235)
OKLCHoklch(66.57% 0.157 308.2)
XYZxyz(37.2062, 27.2917, 71.7004)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76DD #A4DD76
analogous
#7C76DD #AF76DD #DD76D8
triadic
#AF76DD #DDAF76 #76DDAF
tetradic
#AF76DD #DD7C76 #A4DD76 #76D8DD
square
#AF76DD #DD7C76 #A4DD76 #76D8DD
split-complementary
#AF76DD #D8DD76 #76DD7C
monochromatic
#732BAE #9245D1 #AF76DD #CCA7E9 #E8D8F5

Accessibility & contrast

On white

3.25
#AF76DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AF76DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76DD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76DD#FFFFFF#000000##000000
##AF76DD1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE1
Deuteranopia (green-blind)
#6C8FDA
Tritanopia (blue-blind)
#A9879F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af76dd;
/* rgb */ color: rgb(175, 118, 221);
/* oklch */ color: oklch(66.6% 0.157 308.2);
Tailwind
colors: {
  custom: {
    50: '#c99fe8',
    500: '#af76dd',
    950: '#000000',
  },
}
SCSS
$custom: #af76dd;
$custom-light: #c99fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#af76dd",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 273.204,
    "s": 60.234,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66567,
    "c": 0.15727,
    "h": 308.2
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

primary
#AF76DD
secondary
#D6E8C7
accent
#C81E6A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF76DD

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

Preview Lab → · Contrast checker → · Palette generator →

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