#AF61BF#AF61BF

#AF61BF is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.8% C 0.159 H 320.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF61BF
RGBrgb(175, 97, 191)
HSLhsl(290, 42%, 56%)
HSVhsv(290, 49%, 75%)
CMYKcmyk(8.4%, 49.2%, 0%, 25.1%)
CIE-LABlab(53.41, 46.30, -36.42)
CIE-LCHlch(53.41, 58.90, 321.81°)
OKLaboklab(61.76% 0.1226 -0.1007)
OKLCHoklch(61.76% 0.159 320.6)
XYZxyz(31.3567, 21.4262, 51.7641)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61BF #71BF61
analogous
#8061BF #AF61BF #BF61A0
triadic
#AF61BF #BFAF61 #61BFAF
tetradic
#AF61BF #BF8061 #71BF61 #61A0BF
square
#AF61BF #BF8061 #71BF61 #61A0BF
split-complementary
#AF61BF #A0BF61 #61BF80
monochromatic
#6A3076 #9141A1 #AF61BF #C58DD1 #DBB8E2

Accessibility & contrast

On white

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

On black

5.28
#AF61BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61BF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61BF#FFFFFF#000000##000000
##AF61BF1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#6983BC
Tritanopia (blue-blind)
#B06E87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af61bf;
/* rgb */ color: rgb(175, 97, 191);
/* oklch */ color: oklch(61.8% 0.159 320.6);
Tailwind
colors: {
  custom: {
    50: '#c990d2',
    500: '#af61bf',
    950: '#000000',
  },
}
SCSS
$custom: #af61bf;
$custom-light: #c990d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af61bf",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 289.787,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.15866,
    "h": 320.6
  },
  "luminance": 0.21425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF61BF

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

Preview Lab → · Contrast checker → · Palette generator →

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