#AF62BB#AF62BB

#AF62BB is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.7% C 0.153 H 322.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF62BB
RGBrgb(175, 98, 187)
HSLhsl(292, 40%, 56%)
HSVhsv(292, 48%, 73%)
CMYKcmyk(6.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(53.43, 44.98, -34.09)
CIE-LCHlch(53.43, 56.44, 322.84°)
OKLaboklab(61.71% 0.1206 -0.094)
OKLCHoklch(61.71% 0.153 322.1)
XYZxyz(31.0155, 21.4385, 49.5084)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62BB #6EBB62
analogous
#8262BB #AF62BB #BB629A
triadic
#AF62BB #BBAF62 #62BBAF
tetradic
#AF62BB #BB8262 #6EBB62 #629ABB
square
#AF62BB #BB8262 #6EBB62 #629ABB
split-complementary
#AF62BB #9ABB62 #62BB82
monochromatic
#693171 #90449C #AF62BB #C58DCD #DBB7E0

Accessibility & contrast

On white

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

On black

5.29
#AF62BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62BB#FFFFFF#000000##000000
##AF62BB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#B16D86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af62bb;
/* rgb */ color: rgb(175, 98, 187);
/* oklch */ color: oklch(61.7% 0.153 322.1);
Tailwind
colors: {
  custom: {
    50: '#c991d0',
    500: '#af62bb',
    950: '#000000',
  },
}
SCSS
$custom: #af62bb;
$custom-light: #c991d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af62bb",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 291.91,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.1529,
    "h": 322.1
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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