#AF5EBD#AF5EBD

#AF5EBD is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.2% C 0.162 H 321.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF5EBD
RGBrgb(175, 94, 189)
HSLhsl(291, 42%, 55%)
HSVhsv(291, 50%, 74%)
CMYKcmyk(7.4%, 50.3%, 0%, 25.9%)
CIE-LABlab(52.72, 47.45, -36.35)
CIE-LCHlch(52.72, 59.77, 322.55°)
OKLaboklab(61.22% 0.1266 -0.1005)
OKLCHoklch(61.22% 0.162 321.6)
XYZxyz(30.8662, 20.7948, 50.5222)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EBD #6CBD5E
analogous
#7F5EBD #AF5EBD #BD5E9B
triadic
#AF5EBD #BDAF5E #5EBDAF
tetradic
#AF5EBD #BD7F5E #6CBD5E #5E9BBD
square
#AF5EBD #BD7F5E #6CBD5E #5E9BBD
split-complementary
#AF5EBD #9BBD5E #5EBD7F
monochromatic
#682F72 #90409D #AF5EBD #C589CF #DAB5E1

Accessibility & contrast

On white

4.07
#AF5EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AF5EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EBD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EBD#FFFFFF#000000##000000
##AF5EBD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#B16B85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af5ebd;
/* rgb */ color: rgb(175, 94, 189);
/* oklch */ color: oklch(61.2% 0.162 321.6);
Tailwind
colors: {
  custom: {
    50: '#c98fd1',
    500: '#af5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #af5ebd;
$custom-light: #c98fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ebd",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 291.158,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.16158,
    "h": 321.6
  },
  "luminance": 0.20793
}

Semantic roles & 50–950 ramp

primary
#AF5EBD
secondary
#ADCFA8
accent
#D25668
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AF5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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