#AF62BC#AF62BC

#AF62BC is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.8% C 0.154 H 321.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF62BC
RGBrgb(175, 98, 188)
HSLhsl(291, 40%, 56%)
HSVhsv(291, 48%, 74%)
CMYKcmyk(6.9%, 47.9%, 0%, 26.3%)
CIE-LABlab(53.47, 45.18, -34.60)
CIE-LCHlch(53.47, 56.90, 322.56°)
OKLaboklab(61.76% 0.1207 -0.0955)
OKLCHoklch(61.76% 0.154 321.7)
XYZxyz(31.1230, 21.4814, 50.0741)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62BC #6FBC62
analogous
#8262BC #AF62BC #BC629C
triadic
#AF62BC #BCAF62 #62BCAF
tetradic
#AF62BC #BC8262 #6FBC62 #629CBC
square
#AF62BC #BC8262 #6FBC62 #629CBC
split-complementary
#AF62BC #9CBC62 #62BC82
monochromatic
#693173 #91439E #AF62BC #C58DCE #DBB8E1

Accessibility & contrast

On white

3.97
#AF62BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AF62BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62BC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62BC#FFFFFF#000000##000000
##AF62BC1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#6B83B9
Tritanopia (blue-blind)
#B16D86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af62bc;
/* rgb */ color: rgb(175, 98, 188);
/* oklch */ color: oklch(61.8% 0.154 321.7);
Tailwind
colors: {
  custom: {
    50: '#c991d0',
    500: '#af62bc',
    950: '#000000',
  },
}
SCSS
$custom: #af62bc;
$custom-light: #c991d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af62bc",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 291.333,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.15392,
    "h": 321.7
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#AF62BC
secondary
#B0CFAA
accent
#D05869
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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