#AF63BB#AF63BB

#AF63BB is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.9% C 0.151 H 322.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF63BB
RGBrgb(175, 99, 187)
HSLhsl(292, 39%, 56%)
HSVhsv(292, 47%, 73%)
CMYKcmyk(6.4%, 47.1%, 0%, 26.7%)
CIE-LABlab(53.63, 44.46, -33.78)
CIE-LCHlch(53.63, 55.83, 322.77°)
OKLaboklab(61.86% 0.1192 -0.0931)
OKLCHoklch(61.86% 0.151 322)
XYZxyz(31.1097, 21.6268, 49.5398)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63BB #6FBB63
analogous
#8363BB #AF63BB #BB639B
triadic
#AF63BB #BBAF63 #63BBAF
tetradic
#AF63BB #BB8363 #6FBB63 #639BBB
square
#AF63BB #BB8363 #6FBB63 #639BBB
split-complementary
#AF63BB #9BBB63 #63BB83
monochromatic
#693272 #91449D #AF63BB #C58ECE #DBB8E0

Accessibility & contrast

On white

3.94
#AF63BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AF63BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63BB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63BB#FFFFFF#000000##000000
##AF63BB1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBE
Deuteranopia (green-blind)
#6D83B8
Tritanopia (blue-blind)
#B16E86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af63bb;
/* rgb */ color: rgb(175, 99, 187);
/* oklch */ color: oklch(61.9% 0.151 322.0);
Tailwind
colors: {
  custom: {
    50: '#c992d0',
    500: '#af63bb',
    950: '#000000',
  },
}
SCSS
$custom: #af63bb;
$custom-light: #c992d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af63bb",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 291.818,
    "s": 39.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.15122,
    "h": 322
  },
  "luminance": 0.21625
}

Semantic roles & 50–950 ramp

primary
#AF63BB
secondary
#B0CFAB
accent
#CF5969
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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