#AF4DBF#AF4DBF

#AF4DBF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.190 H 321.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4DBF
RGBrgb(175, 77, 191)
HSLhsl(292, 47%, 53%)
HSVhsv(292, 60%, 75%)
CMYKcmyk(8.4%, 59.7%, 0%, 25.1%)
CIE-LABlab(49.72, 56.16, -42.24)
CIE-LCHlch(49.72, 70.27, 323.05°)
OKLaboklab(59.04% 0.1494 -0.1174)
OKLCHoklch(59.04% 0.19 321.8)
XYZxyz(29.7360, 18.1848, 51.2238)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DBF #5DBF4D
analogous
#764DBF #AF4DBF #BF4D96
triadic
#AF4DBF #BFAF4D #4DBFAF
tetradic
#AF4DBF #BF764D #5DBF4D #4D96BF
square
#AF4DBF #BF764D #5DBF4D #4D96BF
split-complementary
#AF4DBF #96BF4D #4DBF76
monochromatic
#61276B #8A3798 #AF4DBF #C37ACF #D7A7DF

Accessibility & contrast

On white

4.53
#AF4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF4DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DBF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DBF#FFFFFF#000000##000000
##AF4DBF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#B15E7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4dbf;
/* rgb */ color: rgb(175, 77, 191);
/* oklch */ color: oklch(59.0% 0.190 321.8);
Tailwind
colors: {
  custom: {
    50: '#ca84d3',
    500: '#af4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #af4dbf;
$custom-light: #ca84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dbf",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 291.579,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.19,
    "h": 321.8
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#AF4DBF
secondary
#A2CD9B
accent
#D75164
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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