#AF4EDE#AF4EDE

#AF4EDE is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.218 H 312.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF4EDE
RGBrgb(175, 78, 222)
HSLhsl(280, 69%, 59%)
HSVhsv(280, 65%, 87%)
CMYKcmyk(21.2%, 64.9%, 0%, 12.9%)
CIE-LABlab(51.65, 61.88, -56.91)
CIE-LCHlch(51.65, 84.07, 317.39°)
OKLaboklab(61.01% 0.1482 -0.1603)
OKLCHoklch(61.01% 0.218 312.7)
XYZxyz(33.5861, 19.8376, 71.1529)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EDE #7DDE4E
analogous
#674EDE #AF4EDE #DE4EC5
triadic
#AF4EDE #DEAF4E #4EDEAF
tetradic
#AF4EDE #DE674E #7DDE4E #4EC5DE
square
#AF4EDE #DE674E #7DDE4E #4EC5DE
split-complementary
#AF4EDE #C5DE4E #4EDE67
monochromatic
#6E1C96 #9426C9 #AF4EDE #C682E8 #DEB5F1

Accessibility & contrast

On white

4.23
#AF4EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AF4EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4EDE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EDE#FFFFFF#000000##000000
##AF4EDE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#AA6A8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4ede;
/* rgb */ color: rgb(175, 78, 222);
/* oklch */ color: oklch(61.0% 0.218 312.7);
Tailwind
colors: {
  custom: {
    50: '#cb86e9',
    500: '#af4ede',
    950: '#000000',
  },
}
SCSS
$custom: #af4ede;
$custom-light: #cb86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ede",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 280.417,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.21826,
    "h": 312.7
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#AF4EDE
secondary
#BAE0A8
accent
#EB3C76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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