#AF76CE#AF76CE

#AF76CE is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.8% C 0.140 H 312.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF76CE
RGBrgb(175, 118, 206)
HSLhsl(279, 47%, 64%)
HSVhsv(279, 43%, 81%)
CMYKcmyk(15%, 42.7%, 0%, 19.2%)
CIE-LABlab(58.53, 38.12, -36.94)
CIE-LCHlch(58.53, 53.08, 315.90°)
OKLaboklab(65.81% 0.095 -0.1023)
OKLCHoklch(65.81% 0.14 312.9)
XYZxyz(35.2963, 26.5278, 61.6416)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76CE #95CE76
analogous
#8376CE #AF76CE #CE76C1
triadic
#AF76CE #CEAF76 #76CEAF
tetradic
#AF76CE #CE8376 #95CE76 #76C1CE
square
#AF76CE #CE8376 #95CE76 #76C1CE
split-complementary
#AF76CE #C1CE76 #76CE83
monochromatic
#733594 #9549BE #AF76CE #C9A3DE #E4D0EE

Accessibility & contrast

On white

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

On black

6.31
#AF76CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76CE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76CE#FFFFFF#000000##000000
##AF76CE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD1
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#AC8398
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af76ce;
/* rgb */ color: rgb(175, 118, 206);
/* oklch */ color: oklch(65.8% 0.140 312.9);
Tailwind
colors: {
  custom: {
    50: '#c89edd',
    500: '#af76ce',
    950: '#000000',
  },
}
SCSS
$custom: #af76ce;
$custom-light: #c89edd;
$custom-dark: #000000;
JSON
{
  "hex": "#af76ce",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 278.864,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65805,
    "c": 0.13962,
    "h": 312.9
  },
  "luminance": 0.26527
}

Semantic roles & 50–950 ramp

primary
#AF76CE
secondary
#CBDFC0
accent
#BB2B5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF76CE

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

Preview Lab → · Contrast checker → · Palette generator →

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