#AF76CB#AF76CB

#AF76CB is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.7% C 0.136 H 313.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF76CB
RGBrgb(175, 118, 203)
HSLhsl(280, 45%, 63%)
HSVhsv(280, 42%, 80%)
CMYKcmyk(13.8%, 41.9%, 0%, 20.4%)
CIE-LABlab(58.40, 37.48, -35.46)
CIE-LCHlch(58.40, 51.59, 316.59°)
OKLaboklab(65.66% 0.0944 -0.0981)
OKLCHoklch(65.66% 0.136 313.9)
XYZxyz(34.9354, 26.3834, 59.7405)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76CB #92CB76
analogous
#8476CB #AF76CB #CB76BD
triadic
#AF76CB #CBAF76 #76CBAF
tetradic
#AF76CB #CB8476 #92CB76 #76BDCB
square
#AF76CB #CB8476 #92CB76 #76BDCB
split-complementary
#AF76CB #BDCB76 #76CB84
monochromatic
#733790 #954ABA #AF76CB #C9A2DC #E3CFED

Accessibility & contrast

On white

3.35
#AF76CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AF76CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76CB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76CB#FFFFFF#000000##000000
##AF76CB1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#758EC9
Tritanopia (blue-blind)
#AD8297
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af76cb;
/* rgb */ color: rgb(175, 118, 203);
/* oklch */ color: oklch(65.7% 0.136 313.9);
Tailwind
colors: {
  custom: {
    50: '#c89edb',
    500: '#af76cb',
    950: '#000000',
  },
}
SCSS
$custom: #af76cb;
$custom-light: #c89edb;
$custom-dark: #000000;
JSON
{
  "hex": "#af76cb",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 280.235,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65659,
    "c": 0.13612,
    "h": 313.9
  },
  "luminance": 0.26383
}

Semantic roles & 50–950 ramp

primary
#AF76CB
secondary
#C9DEBF
accent
#B82D5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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