#AF7EBE#AF7EBE

#AF7EBE is a light, moderate purple. Relative luminance 0.278; OKLCH L 66.4% C 0.107 H 318.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF7EBE
RGBrgb(175, 126, 190)
HSLhsl(286, 33%, 62%)
HSVhsv(286, 34%, 75%)
CMYKcmyk(7.9%, 33.7%, 0%, 25.5%)
CIE-LABlab(59.67, 30.29, -26.12)
CIE-LCHlch(59.67, 40.00, 319.23°)
OKLaboklab(66.44% 0.0796 -0.0714)
OKLCHoklch(66.44% 0.107 318.1)
XYZxyz(34.4330, 27.7542, 52.2484)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7EBE #8DBE7E
analogous
#8F7EBE #AF7EBE #BE7EAD
triadic
#AF7EBE #BEAF7E #7EBEAF
tetradic
#AF7EBE #BE8F7E #8DBE7E #7EADBE
square
#AF7EBE #BE8F7E #8DBE7E #7EADBE
split-complementary
#AF7EBE #ADBE7E #7EBE8F
monochromatic
#724181 #9655A9 #AF7EBE #C8A7D3 #E1CFE7

Accessibility & contrast

On white

3.21
#AF7EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AF7EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7EBE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7EBE#FFFFFF#000000##000000
##AF7EBE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CC0
Deuteranopia (green-blind)
#8191BC
Tritanopia (blue-blind)
#AF8695
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af7ebe;
/* rgb */ color: rgb(175, 126, 190);
/* oklch */ color: oklch(66.4% 0.107 318.1);
Tailwind
colors: {
  custom: {
    50: '#c7a4d1',
    500: '#af7ebe',
    950: '#000000',
  },
}
SCSS
$custom: #af7ebe;
$custom-light: #c7a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ebe",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 190
  },
  "hsl": {
    "h": 285.938,
    "s": 32.99,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.10696,
    "h": 318.1
  },
  "luminance": 0.27753
}

Semantic roles & 50–950 ramp

primary
#AF7EBE
secondary
#C6D8C0
accent
#AC3A54
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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