#AF5EBF#AF5EBF

#AF5EBF is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.3% C 0.164 H 320.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF5EBF
RGBrgb(175, 94, 191)
HSLhsl(290, 43%, 56%)
HSVhsv(290, 51%, 75%)
CMYKcmyk(8.4%, 50.8%, 0%, 25.1%)
CIE-LABlab(52.82, 47.85, -37.35)
CIE-LCHlch(52.82, 60.70, 322.03°)
OKLaboklab(61.32% 0.1268 -0.1034)
OKLCHoklch(61.32% 0.164 320.8)
XYZxyz(31.0848, 20.8822, 51.6734)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EBF #6EBF5E
analogous
#7E5EBF #AF5EBF #BF5E9E
triadic
#AF5EBF #BFAF5E #5EBFAF
tetradic
#AF5EBF #BF7E5E #6EBF5E #5E9EBF
square
#AF5EBF #BF7E5E #6EBF5E #5E9EBF
split-complementary
#AF5EBF #9EBF5E #5EBF7E
monochromatic
#692E74 #9040A0 #AF5EBF #C58AD0 #DBB6E2

Accessibility & contrast

On white

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

On black

5.18
#AF5EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EBF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EBF#FFFFFF#000000##000000
##AF5EBF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#B06B86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af5ebf;
/* rgb */ color: rgb(175, 94, 191);
/* oklch */ color: oklch(61.3% 0.164 320.8);
Tailwind
colors: {
  custom: {
    50: '#c98fd2',
    500: '#af5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #af5ebf;
$custom-light: #c98fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ebf",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 290.103,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.16361,
    "h": 320.8
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#AF5EBF
secondary
#AFD0A8
accent
#D3556A
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AF5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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