#AF62BF#AF62BF

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

Color values

HEX#AF62BF
RGBrgb(175, 98, 191)
HSLhsl(290, 42%, 57%)
HSVhsv(290, 49%, 75%)
CMYKcmyk(8.4%, 48.7%, 0%, 25.1%)
CIE-LABlab(53.61, 45.77, -36.10)
CIE-LCHlch(53.61, 58.30, 321.74°)
OKLaboklab(61.91% 0.1212 -0.0998)
OKLCHoklch(61.91% 0.157 320.5)
XYZxyz(31.4497, 21.6122, 51.7950)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62BF #72BF62
analogous
#8162BF #AF62BF #BF62A1
triadic
#AF62BF #BFAF62 #62BFAF
tetradic
#AF62BF #BF8162 #72BF62 #62A1BF
square
#AF62BF #BF8162 #72BF62 #62A1BF
split-complementary
#AF62BF #A1BF62 #62BF81
monochromatic
#6A3076 #9142A2 #AF62BF #C58DD1 #DBB9E2

Accessibility & contrast

On white

3.95
#AF62BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF62BF#FFFFFF#000000##000000
##AF62BF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#B06E88
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af62bf;
/* rgb */ color: rgb(175, 98, 191);
/* oklch */ color: oklch(61.9% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#c991d2',
    500: '#af62bf',
    950: '#000000',
  },
}
SCSS
$custom: #af62bf;
$custom-light: #c991d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af62bf",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 289.677,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61905,
    "c": 0.157,
    "h": 320.5
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

primary
#AF62BF
secondary
#B2D1AB
accent
#D2566B
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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