#AF76CF#AF76CF

#AF76CF is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.9% C 0.141 H 312.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF76CF
RGBrgb(175, 118, 207)
HSLhsl(278, 48%, 64%)
HSVhsv(278, 43%, 81%)
CMYKcmyk(15.5%, 43%, 0%, 18.8%)
CIE-LABlab(58.58, 38.34, -37.44)
CIE-LCHlch(58.58, 53.58, 315.68°)
OKLaboklab(65.85% 0.0951 -0.1038)
OKLCHoklch(65.85% 0.141 312.5)
XYZxyz(35.4182, 26.5765, 62.2834)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76CF #96CF76
analogous
#8276CF #AF76CF #CF76C2
triadic
#AF76CF #CFAF76 #76CFAF
tetradic
#AF76CF #CF8276 #96CF76 #76C2CF
square
#AF76CF #CF8276 #96CF76 #76C2CF
split-complementary
#AF76CF #C2CF76 #76CF82
monochromatic
#733596 #9549BF #AF76CF #C9A3DF #E4D1EF

Accessibility & contrast

On white

3.33
#AF76CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AF76CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76CF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76CF#FFFFFF#000000##000000
##AF76CF1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#648AD2
Deuteranopia (green-blind)
#738ECD
Tritanopia (blue-blind)
#AC8399
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af76cf;
/* rgb */ color: rgb(175, 118, 207);
/* oklch */ color: oklch(65.9% 0.141 312.5);
Tailwind
colors: {
  custom: {
    50: '#c89ede',
    500: '#af76cf',
    950: '#000000',
  },
}
SCSS
$custom: #af76cf;
$custom-light: #c89ede;
$custom-dark: #000000;
JSON
{
  "hex": "#af76cf",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 278.427,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65854,
    "c": 0.14078,
    "h": 312.5
  },
  "luminance": 0.26576
}

Semantic roles & 50–950 ramp

primary
#AF76CF
secondary
#CCE0C1
accent
#BB2A5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF76CF

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

Preview Lab → · Contrast checker → · Palette generator →

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