#AF76CC#AF76CC

#AF76CC is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.7% C 0.137 H 313.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF76CC
RGBrgb(175, 118, 204)
HSLhsl(280, 46%, 63%)
HSVhsv(280, 42%, 80%)
CMYKcmyk(14.2%, 42.2%, 0%, 20%)
CIE-LABlab(58.44, 37.69, -35.95)
CIE-LCHlch(58.44, 52.09, 316.35°)
OKLaboklab(65.71% 0.0946 -0.0995)
OKLCHoklch(65.71% 0.137 313.6)
XYZxyz(35.0549, 26.4312, 60.3701)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76CC #93CC76
analogous
#8476CC #AF76CC #CC76BE
triadic
#AF76CC #CCAF76 #76CCAF
tetradic
#AF76CC #CC8476 #93CC76 #76BECC
square
#AF76CC #CC8476 #93CC76 #76BECC
split-complementary
#AF76CC #BECC76 #76CC84
monochromatic
#733691 #9549BB #AF76CC #C9A3DD #E3CFED

Accessibility & contrast

On white

3.34
#AF76CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AF76CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76CC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76CC#FFFFFF#000000##000000
##AF76CC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#AD8297
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af76cc;
/* rgb */ color: rgb(175, 118, 204);
/* oklch */ color: oklch(65.7% 0.137 313.6);
Tailwind
colors: {
  custom: {
    50: '#c89edc',
    500: '#af76cc',
    950: '#000000',
  },
}
SCSS
$custom: #af76cc;
$custom-light: #c89edc;
$custom-dark: #000000;
JSON
{
  "hex": "#af76cc",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 279.767,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65707,
    "c": 0.13729,
    "h": 313.6
  },
  "luminance": 0.2643
}

Semantic roles & 50–950 ramp

primary
#AF76CC
secondary
#CADEBF
accent
#B92D5C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF76CC

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

Preview Lab → · Contrast checker → · Palette generator →

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