#AF60BF#AF60BF

#AF60BF is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.6% C 0.160 H 320.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF60BF
RGBrgb(175, 96, 191)
HSLhsl(290, 43%, 56%)
HSVhsv(290, 50%, 75%)
CMYKcmyk(8.4%, 49.7%, 0%, 25.1%)
CIE-LABlab(53.21, 46.82, -36.73)
CIE-LCHlch(53.21, 59.50, 321.88°)
OKLaboklab(61.61% 0.124 -0.1016)
OKLCHoklch(61.61% 0.16 320.7)
XYZxyz(31.2649, 21.2426, 51.7334)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60BF #70BF60
analogous
#8060BF #AF60BF #BF60A0
triadic
#AF60BF #BFAF60 #60BFAF
tetradic
#AF60BF #BF8060 #70BF60 #60A0BF
square
#AF60BF #BF8060 #70BF60 #60A0BF
split-complementary
#AF60BF #A0BF60 #60BF80
monochromatic
#6A2F75 #9141A1 #AF60BF #C58CD1 #DBB7E2

Accessibility & contrast

On white

4.00
#AF60BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AF60BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60BF#FFFFFF#000000##000000
##AF60BF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#B06D87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af60bf;
/* rgb */ color: rgb(175, 96, 191);
/* oklch */ color: oklch(61.6% 0.160 320.7);
Tailwind
colors: {
  custom: {
    50: '#c990d2',
    500: '#af60bf',
    950: '#000000',
  },
}
SCSS
$custom: #af60bf;
$custom-light: #c990d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af60bf",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 191
  },
  "hsl": {
    "h": 289.895,
    "s": 42.601,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6161,
    "c": 0.16032,
    "h": 320.7
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#AF60BF
secondary
#B0D1AA
accent
#D2556A
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF60BF

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

Preview Lab → · Contrast checker → · Palette generator →

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