#AF5DBD#AF5DBD

#AF5DBD is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.1% C 0.163 H 321.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF5DBD
RGBrgb(175, 93, 189)
HSLhsl(291, 42%, 55%)
HSVhsv(291, 51%, 74%)
CMYKcmyk(7.4%, 50.8%, 0%, 25.9%)
CIE-LABlab(52.53, 47.97, -36.65)
CIE-LCHlch(52.53, 60.37, 322.62°)
OKLaboklab(61.07% 0.128 -0.1013)
OKLCHoklch(61.07% 0.163 321.6)
XYZxyz(30.7778, 20.6181, 50.4927)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DBD #6BBD5D
analogous
#7F5DBD #AF5DBD #BD5D9B
triadic
#AF5DBD #BDAF5D #5DBDAF
tetradic
#AF5DBD #BD7F5D #6BBD5D #5D9BBD
square
#AF5DBD #BD7F5D #6BBD5D #5D9BBD
split-complementary
#AF5DBD #9BBD5D #5DBD7F
monochromatic
#682E71 #8F409D #AF5DBD #C488CF #DAB4E0

Accessibility & contrast

On white

4.10
#AF5DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AF5DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DBD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DBD#FFFFFF#000000##000000
##AF5DBD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#6781BA
Tritanopia (blue-blind)
#B16A84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af5dbd;
/* rgb */ color: rgb(175, 93, 189);
/* oklch */ color: oklch(61.1% 0.163 321.6);
Tailwind
colors: {
  custom: {
    50: '#c98ed1',
    500: '#af5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #af5dbd;
$custom-light: #c98ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5dbd",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 291.25,
    "s": 42.105,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.16323,
    "h": 321.6
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#AF5DBD
secondary
#ADCFA7
accent
#D25668
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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