#AF5EBE#AF5EBE

#AF5EBE is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.3% C 0.163 H 321.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF5EBE
RGBrgb(175, 94, 190)
HSLhsl(291, 42%, 56%)
HSVhsv(291, 51%, 75%)
CMYKcmyk(7.9%, 50.5%, 0%, 25.5%)
CIE-LABlab(52.77, 47.65, -36.85)
CIE-LCHlch(52.77, 60.23, 322.29°)
OKLaboklab(61.27% 0.1267 -0.1019)
OKLCHoklch(61.27% 0.163 321.2)
XYZxyz(30.9751, 20.8384, 51.0958)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EBE #6DBE5E
analogous
#7F5EBE #AF5EBE #BE5E9D
triadic
#AF5EBE #BEAF5E #5EBEAF
tetradic
#AF5EBE #BE7F5E #6DBE5E #5E9DBE
square
#AF5EBE #BE7F5E #6DBE5E #5E9DBE
split-complementary
#AF5EBE #9DBE5E #5EBE7F
monochromatic
#682E73 #90409F #AF5EBE #C58AD0 #DAB5E1

Accessibility & contrast

On white

4.06
#AF5EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AF5EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EBE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EBE#FFFFFF#000000##000000
##AF5EBE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C1
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#B16B85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af5ebe;
/* rgb */ color: rgb(175, 94, 190);
/* oklch */ color: oklch(61.3% 0.163 321.2);
Tailwind
colors: {
  custom: {
    50: '#c98fd2',
    500: '#af5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #af5ebe;
$custom-light: #c98fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ebe",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 290.625,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61267,
    "c": 0.1626,
    "h": 321.2
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#AF5EBE
secondary
#AED0A8
accent
#D25669
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AF5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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