#AF60BC#AF60BC

#AF60BC is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.5% C 0.157 H 321.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF60BC
RGBrgb(175, 96, 188)
HSLhsl(292, 41%, 56%)
HSVhsv(292, 49%, 74%)
CMYKcmyk(6.9%, 48.9%, 0%, 26.3%)
CIE-LABlab(53.07, 46.22, -35.22)
CIE-LCHlch(53.07, 58.11, 322.69°)
OKLaboklab(61.46% 0.1236 -0.0972)
OKLCHoklch(61.46% 0.157 321.8)
XYZxyz(30.9382, 21.1119, 50.0125)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60BC #6DBC60
analogous
#8160BC #AF60BC #BC609B
triadic
#AF60BC #BCAF60 #60BCAF
tetradic
#AF60BC #BC8160 #6DBC60 #609BBC
square
#AF60BC #BC8160 #6DBC60 #609BBC
split-complementary
#AF60BC #9BBC60 #60BC81
monochromatic
#683072 #90429D #AF60BC #C58BCE #DAB6E0

Accessibility & contrast

On white

4.02
#AF60BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AF60BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60BC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60BC#FFFFFF#000000##000000
##AF60BC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#B16C85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af60bc;
/* rgb */ color: rgb(175, 96, 188);
/* oklch */ color: oklch(61.5% 0.157 321.8);
Tailwind
colors: {
  custom: {
    50: '#c990d0',
    500: '#af60bc',
    950: '#000000',
  },
}
SCSS
$custom: #af60bc;
$custom-light: #c990d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af60bc",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 291.522,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.15726,
    "h": 321.8
  },
  "luminance": 0.21111
}

Semantic roles & 50–950 ramp

primary
#AF60BC
secondary
#AECFA9
accent
#D15768
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF60BC

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

Preview Lab → · Contrast checker → · Palette generator →

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