#AF4DBD#AF4DBD

#AF4DBD is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.188 H 322.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF4DBD
RGBrgb(175, 77, 189)
HSLhsl(293, 46%, 52%)
HSVhsv(293, 59%, 74%)
CMYKcmyk(7.4%, 59.3%, 0%, 25.9%)
CIE-LABlab(49.61, 55.78, -41.25)
CIE-LCHlch(49.61, 69.37, 323.52°)
OKLaboklab(58.93% 0.1493 -0.1145)
OKLCHoklch(58.93% 0.188 322.5)
XYZxyz(29.5174, 18.0973, 50.0726)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DBD #5BBD4D
analogous
#774DBD #AF4DBD #BD4D93
triadic
#AF4DBD #BDAF4D #4DBDAF
tetradic
#AF4DBD #BD774D #5BBD4D #4D93BD
square
#AF4DBD #BD774D #5BBD4D #4D93BD
split-complementary
#AF4DBD #93BD4D #4DBD77
monochromatic
#612769 #8A3795 #AF4DBD #C37ACE #D7A6DE

Accessibility & contrast

On white

4.55
#AF4DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF4DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DBD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DBD#FFFFFF#000000##000000
##AF4DBD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#B15D7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4dbd;
/* rgb */ color: rgb(175, 77, 189);
/* oklch */ color: oklch(58.9% 0.188 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca84d1',
    500: '#af4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #af4dbd;
$custom-light: #ca84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dbd",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 292.5,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58933,
    "c": 0.18814,
    "h": 322.5
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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