#AF76BE#AF76BE

#AF76BE is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.1% C 0.121 H 319.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF76BE
RGBrgb(175, 118, 190)
HSLhsl(288, 36%, 60%)
HSVhsv(288, 38%, 75%)
CMYKcmyk(7.9%, 37.9%, 0%, 25.5%)
CIE-LABlab(57.84, 34.75, -28.95)
CIE-LCHlch(57.84, 45.23, 320.21°)
OKLaboklab(65.05% 0.0917 -0.0794)
OKLCHoklch(65.05% 0.121 319.1)
XYZxyz(33.4507, 25.7895, 51.9210)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF76BE #85BE76
analogous
#8B76BE #AF76BE #BE76A9
triadic
#AF76BE #BEAF76 #76BEAF
tetradic
#AF76BE #BE8B76 #85BE76 #76A9BE
square
#AF76BE #BE8B76 #85BE76 #76A9BE
split-complementary
#AF76BE #A9BE76 #76BE8B
monochromatic
#703C7E #954FA7 #AF76BE #C7A0D2 #DFC9E5

Accessibility & contrast

On white

3.41
#AF76BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AF76BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF76BE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF76BE#FFFFFF#000000##000000
##AF76BE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C1
Deuteranopia (green-blind)
#7A8DBC
Tritanopia (blue-blind)
#B07F91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af76be;
/* rgb */ color: rgb(175, 118, 190);
/* oklch */ color: oklch(65.1% 0.121 319.1);
Tailwind
colors: {
  custom: {
    50: '#c89ed2',
    500: '#af76be',
    950: '#000000',
  },
}
SCSS
$custom: #af76be;
$custom-light: #c89ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#af76be",
  "rgb": {
    "r": 175,
    "g": 118,
    "b": 190
  },
  "hsl": {
    "h": 287.5,
    "s": 35.644,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65051,
    "c": 0.1213,
    "h": 319.1
  },
  "luminance": 0.25789
}

Semantic roles & 50–950 ramp

primary
#AF76BE
secondary
#C0D6BA
accent
#AF3750
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF76BE

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

Preview Lab → · Contrast checker → · Palette generator →

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