#AF61BB#AF61BB

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

Color values

HEX#AF61BB
RGBrgb(175, 97, 187)
HSLhsl(292, 40%, 56%)
HSVhsv(292, 48%, 73%)
CMYKcmyk(6.4%, 48.1%, 0%, 26.7%)
CIE-LABlab(53.22, 45.50, -34.41)
CIE-LCHlch(53.22, 57.05, 322.91°)
OKLaboklab(61.56% 0.122 -0.0949)
OKLCHoklch(61.56% 0.155 322.1)
XYZxyz(30.9226, 21.2525, 49.4774)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61BB #6DBB61
analogous
#8261BB #AF61BB #BB619A
triadic
#AF61BB #BBAF61 #61BBAF
tetradic
#AF61BB #BB8261 #6DBB61 #619ABB
square
#AF61BB #BB8261 #6DBB61 #619ABB
split-complementary
#AF61BB #9ABB61 #61BB82
monochromatic
#683171 #90439C #AF61BB #C58CCD #DAB7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF61BB#FFFFFF#000000##000000
##AF61BB1.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)
#5479BE
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#B16C85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af61bb;
/* rgb */ color: rgb(175, 97, 187);
/* oklch */ color: oklch(61.6% 0.155 322.1);
Tailwind
colors: {
  custom: {
    50: '#c990d0',
    500: '#af61bb',
    950: '#000000',
  },
}
SCSS
$custom: #af61bb;
$custom-light: #c990d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af61bb",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 292,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.15459,
    "h": 322.1
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#AF61BB
secondary
#AECFA9
accent
#D05868
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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