#AF61BC#AF61BC

#AF61BC is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.6% C 0.156 H 321.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF61BC
RGBrgb(175, 97, 188)
HSLhsl(291, 40%, 56%)
HSVhsv(291, 48%, 74%)
CMYKcmyk(6.9%, 48.4%, 0%, 26.3%)
CIE-LABlab(53.27, 45.70, -34.91)
CIE-LCHlch(53.27, 57.51, 322.62°)
OKLaboklab(61.61% 0.1222 -0.0964)
OKLCHoklch(61.61% 0.156 321.7)
XYZxyz(31.0300, 21.2955, 50.0431)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61BC #6EBC61
analogous
#8161BC #AF61BC #BC619B
triadic
#AF61BC #BCAF61 #61BCAF
tetradic
#AF61BC #BC8161 #6EBC61 #619BBC
square
#AF61BC #BC8161 #6EBC61 #619BBC
split-complementary
#AF61BC #9BBC61 #61BC81
monochromatic
#693072 #90439D #AF61BC #C58CCE #DBB7E0

Accessibility & contrast

On white

3.99
#AF61BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AF61BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61BC#FFFFFF#000000##000000
##AF61BC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#B16D86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af61bc;
/* rgb */ color: rgb(175, 97, 188);
/* oklch */ color: oklch(61.6% 0.156 321.7);
Tailwind
colors: {
  custom: {
    50: '#c990d0',
    500: '#af61bc',
    950: '#000000',
  },
}
SCSS
$custom: #af61bc;
$custom-light: #c990d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af61bc",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 291.429,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.1556,
    "h": 321.7
  },
  "luminance": 0.21294
}

Semantic roles & 50–950 ramp

primary
#AF61BC
secondary
#AFCFAA
accent
#D05769
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF61BC

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

Preview Lab → · Contrast checker → · Palette generator →

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