#AF4DBE#AF4DBE

#AF4DBE is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.189 H 322.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF4DBE
RGBrgb(175, 77, 190)
HSLhsl(292, 47%, 52%)
HSVhsv(292, 59%, 75%)
CMYKcmyk(7.9%, 59.5%, 0%, 25.5%)
CIE-LABlab(49.67, 55.97, -41.74)
CIE-LCHlch(49.67, 69.82, 323.28°)
OKLaboklab(58.99% 0.1493 -0.116)
OKLCHoklch(58.99% 0.189 322.2)
XYZxyz(29.6264, 18.1409, 50.6462)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DBE #5CBE4D
analogous
#764DBE #AF4DBE #BE4D95
triadic
#AF4DBE #BEAF4D #4DBEAF
tetradic
#AF4DBE #BE764D #5CBE4D #4D95BE
square
#AF4DBE #BE764D #5CBE4D #4D95BE
split-complementary
#AF4DBE #95BE4D #4DBE76
monochromatic
#61276A #8A3797 #AF4DBE #C37ACE #D7A7DF

Accessibility & contrast

On white

4.54
#AF4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AF4DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DBE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DBE#FFFFFF#000000##000000
##AF4DBE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#B15E7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4dbe;
/* rgb */ color: rgb(175, 77, 190);
/* oklch */ color: oklch(59.0% 0.189 322.2);
Tailwind
colors: {
  custom: {
    50: '#ca84d2',
    500: '#af4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #af4dbe;
$custom-light: #ca84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dbe",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 292.035,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.18906,
    "h": 322.2
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#AF4DBE
secondary
#A1CC9B
accent
#D65263
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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