#AF5DBF#AF5DBF

#AF5DBF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.2% C 0.165 H 320.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF5DBF
RGBrgb(175, 93, 191)
HSLhsl(290, 43%, 56%)
HSVhsv(290, 51%, 75%)
CMYKcmyk(8.4%, 51.3%, 0%, 25.1%)
CIE-LABlab(52.63, 48.36, -37.65)
CIE-LCHlch(52.63, 61.29, 322.10°)
OKLaboklab(61.18% 0.1282 -0.1042)
OKLCHoklch(61.18% 0.165 320.9)
XYZxyz(30.9964, 20.7055, 51.6439)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DBF #6DBF5D
analogous
#7E5DBF #AF5DBF #BF5D9E
triadic
#AF5DBF #BFAF5D #5DBFAF
tetradic
#AF5DBF #BF7E5D #6DBF5D #5D9EBF
square
#AF5DBF #BF7E5D #6DBF5D #5D9EBF
split-complementary
#AF5DBF #9EBF5D #5DBF7E
monochromatic
#682E74 #903FA0 #AF5DBF #C589D0 #DAB5E2

Accessibility & contrast

On white

4.08
#AF5DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AF5DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DBF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DBF#FFFFFF#000000##000000
##AF5DBF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#6681BC
Tritanopia (blue-blind)
#B06A85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af5dbf;
/* rgb */ color: rgb(175, 93, 191);
/* oklch */ color: oklch(61.2% 0.165 320.9);
Tailwind
colors: {
  custom: {
    50: '#c98ed2',
    500: '#af5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #af5dbf;
$custom-light: #c98ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5dbf",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 290.204,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.16524,
    "h": 320.9
  },
  "luminance": 0.20704
}

Semantic roles & 50–950 ramp

primary
#AF5DBF
secondary
#AED0A8
accent
#D35569
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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