#AF4FAE#AF4FAE

#AF4FAE is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.4% C 0.171 H 327.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4FAE
RGBrgb(175, 79, 174)
HSLhsl(301, 38%, 50%)
HSVhsv(301, 55%, 69%)
CMYKcmyk(0%, 54.9%, 0.6%, 31.4%)
CIE-LABlab(49.21, 52.08, -33.14)
CIE-LCHlch(49.21, 61.73, 327.53°)
OKLaboklab(58.39% 0.1452 -0.0911)
OKLCHoklch(58.39% 0.171 327.9)
XYZxyz(28.1147, 17.7636, 41.9841)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FAE #4FAF50
analogous
#804FAF #AF4FAE #AF4F7E
triadic
#AF4FAE #AEAF4F #4FAEAF
tetradic
#AF4FAE #AF804F #4FAF50 #4F7EAF
square
#AF4FAE #AF804F #4FAF50 #4F7EAF
split-complementary
#AF4FAE #7EAF4F #4FAF80
monochromatic
#5B295A #853C84 #AF4FAE #C279C2 #D5A3D5

Accessibility & contrast

On white

4.61
#AF4FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AF4FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4FAE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FAE#FFFFFF#000000##FFFFFF
##AF4FAE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466DB1
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#B45A77
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4fae;
/* rgb */ color: rgb(175, 79, 174);
/* oklch */ color: oklch(58.4% 0.171 327.9);
Tailwind
colors: {
  custom: {
    50: '#c985c6',
    500: '#af4fae',
    950: '#000000',
  },
}
SCSS
$custom: #af4fae;
$custom-light: #c985c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fae",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 300.625,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.17145,
    "h": 327.9
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#AF4FAE
secondary
#97C398
accent
#CE5B5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AF4FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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