#AF61BA#AF61BA

#AF61BA is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.5% C 0.154 H 322.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF61BA
RGBrgb(175, 97, 186)
HSLhsl(293, 39%, 55%)
HSVhsv(293, 48%, 73%)
CMYKcmyk(5.9%, 47.8%, 0%, 27.1%)
CIE-LABlab(53.18, 45.31, -33.90)
CIE-LCHlch(53.18, 56.59, 323.19°)
OKLaboklab(61.51% 0.1219 -0.0935)
OKLCHoklch(61.51% 0.154 322.5)
XYZxyz(30.8159, 21.2098, 48.9155)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61BA #6CBA61
analogous
#8261BA #AF61BA #BA6198
triadic
#AF61BA #BAAF61 #61BAAF
tetradic
#AF61BA #BA8261 #6CBA61 #6198BA
square
#AF61BA #BA8261 #6CBA61 #6198BA
split-complementary
#AF61BA #98BA61 #61BA82
monochromatic
#683170 #90439A #AF61BA #C58CCD #DAB6DF

Accessibility & contrast

On white

4.01
#AF61BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AF61BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61BA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61BA#FFFFFF#000000##000000
##AF61BA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5579BD
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#B16C85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af61ba;
/* rgb */ color: rgb(175, 97, 186);
/* oklch */ color: oklch(61.5% 0.154 322.5);
Tailwind
colors: {
  custom: {
    50: '#c990cf',
    500: '#af61ba',
    950: '#000000',
  },
}
SCSS
$custom: #af61ba;
$custom-light: #c990cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af61ba",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 292.584,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.15357,
    "h": 322.5
  },
  "luminance": 0.21209
}

Semantic roles & 50–950 ramp

primary
#AF61BA
secondary
#ADCEA9
accent
#CF5967
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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