#AF76DE#AF76DE

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

Color values

HEX#AF76DE
RGBrgb(175, 118, 222)
HSLhsl(273, 61%, 67%)
HSVhsv(273, 47%, 87%)
CMYKcmyk(21.2%, 46.8%, 0%, 12.9%)
CIE-LABlab(59.29, 41.66, -44.75)
CIE-LCHlch(59.29, 61.14, 312.95°)
OKLaboklab(66.62% 0.0974 -0.125)
OKLCHoklch(66.62% 0.158 307.9)
XYZxyz(37.3399, 27.3452, 72.4041)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76DE #A5DE76
analogous
#7B76DE #AF76DE #DE76D9
triadic
#AF76DE #DEAF76 #76DEAF
tetradic
#AF76DE #DE7B76 #A5DE76 #76D9DE
square
#AF76DE #DE7B76 #A5DE76 #76D9DE
split-complementary
#AF76DE #D9DE76 #76DE7B
monochromatic
#732AAF #9245D2 #AF76DE #CCA7EA #E9D9F6

Accessibility & contrast

On white

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

On black

6.47
#AF76DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76DE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76DE#FFFFFF#000000##000000
##AF76DE1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE2
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#A887A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af76de;
/* rgb */ color: rgb(175, 118, 222);
/* oklch */ color: oklch(66.6% 0.158 307.9);
Tailwind
colors: {
  custom: {
    50: '#c99fe9',
    500: '#af76de',
    950: '#000000',
  },
}
SCSS
$custom: #af76de;
$custom-light: #c99fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#af76de",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 272.885,
    "s": 61.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.15846,
    "h": 307.9
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#AF76DE
secondary
#D6E9C7
accent
#C91D6A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF76DE

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

Preview Lab → · Contrast checker → · Palette generator →

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