#AF5DBE#AF5DBE

#AF5DBE is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.1% C 0.164 H 321.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF5DBE
RGBrgb(175, 93, 190)
HSLhsl(291, 43%, 55%)
HSVhsv(291, 51%, 75%)
CMYKcmyk(7.9%, 51.1%, 0%, 25.5%)
CIE-LABlab(52.58, 48.16, -37.15)
CIE-LCHlch(52.58, 60.83, 322.35°)
OKLaboklab(61.12% 0.1281 -0.1028)
OKLCHoklch(61.12% 0.164 321.2)
XYZxyz(30.8867, 20.6617, 51.0664)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DBE #6CBE5D
analogous
#7F5DBE #AF5DBE #BE5D9C
triadic
#AF5DBE #BEAF5D #5DBEAF
tetradic
#AF5DBE #BE7F5D #6CBE5D #5D9CBE
square
#AF5DBE #BE7F5D #6CBE5D #5D9CBE
split-complementary
#AF5DBE #9CBE5D #5DBE7F
monochromatic
#682E73 #90409E #AF5DBE #C589D0 #DAB4E1

Accessibility & contrast

On white

4.09
#AF5DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AF5DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DBE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DBE#FFFFFF#000000##000000
##AF5DBE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C1
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#B16A85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af5dbe;
/* rgb */ color: rgb(175, 93, 190);
/* oklch */ color: oklch(61.1% 0.164 321.2);
Tailwind
colors: {
  custom: {
    50: '#c98ed2',
    500: '#af5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #af5dbe;
$custom-light: #c98ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5dbe",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 290.722,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61123,
    "c": 0.16423,
    "h": 321.2
  },
  "luminance": 0.2066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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