#AF76DF#AF76DF

#AF76DF is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.7% C 0.160 H 307.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF76DF
RGBrgb(175, 118, 223)
HSLhsl(273, 62%, 67%)
HSVhsv(273, 47%, 87%)
CMYKcmyk(21.5%, 47.1%, 0%, 12.5%)
CIE-LABlab(59.34, 41.89, -45.24)
CIE-LCHlch(59.34, 61.65, 312.80°)
OKLaboklab(66.67% 0.0976 -0.1264)
OKLCHoklch(66.67% 0.16 307.7)
XYZxyz(37.4743, 27.3990, 73.1121)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76DF #A6DF76
analogous
#7B76DF #AF76DF #DF76DB
triadic
#AF76DF #DFAF76 #76DFAF
tetradic
#AF76DF #DF7B76 #A6DF76 #76DBDF
square
#AF76DF #DF7B76 #A6DF76 #76DBDF
split-complementary
#AF76DF #DBDF76 #76DF7B
monochromatic
#7329B1 #9244D3 #AF76DF #CCA8EB #E9D9F6

Accessibility & contrast

On white

3.24
#AF76DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AF76DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76DF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76DF#FFFFFF#000000##000000
##AF76DF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af76df;
/* rgb */ color: rgb(175, 118, 223);
/* oklch */ color: oklch(66.7% 0.160 307.7);
Tailwind
colors: {
  custom: {
    50: '#c99fe9',
    500: '#af76df',
    950: '#000000',
  },
}
SCSS
$custom: #af76df;
$custom-light: #c99fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#af76df",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 272.571,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66673,
    "c": 0.15965,
    "h": 307.7
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#AF76DF
secondary
#D7E9C8
accent
#CA1C6B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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