#AF4ECE#AF4ECE

#AF4ECE is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.203 H 317.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF4ECE
RGBrgb(175, 78, 206)
HSLhsl(285, 57%, 56%)
HSVhsv(285, 62%, 81%)
CMYKcmyk(15%, 62.1%, 0%, 19.2%)
CIE-LABlab(50.71, 58.62, -49.30)
CIE-LCHlch(50.71, 76.60, 319.93°)
OKLaboklab(60.03% 0.1485 -0.138)
OKLCHoklch(60.03% 0.203 317.1)
XYZxyz(31.5425, 19.0202, 60.3903)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ECE #6DCE4E
analogous
#6F4ECE #AF4ECE #CE4EAD
triadic
#AF4ECE #CEAF4E #4ECEAF
tetradic
#AF4ECE #CE6F4E #6DCE4E #4EADCE
square
#AF4ECE #CE6F4E #6DCE4E #4EADCE
split-complementary
#AF4ECE #ADCE4E #4ECE6F
monochromatic
#68237F #9030AE #AF4ECE #C57EDB #DAAEE9

Accessibility & contrast

On white

4.37
#AF4ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AF4ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ECE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ECE#FFFFFF#000000##000000
##AF4ECE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D2
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#AE6487
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4ece;
/* rgb */ color: rgb(175, 78, 206);
/* oklch */ color: oklch(60.0% 0.203 317.1);
Tailwind
colors: {
  custom: {
    50: '#ca85dd',
    500: '#af4ece',
    950: '#000000',
  },
}
SCSS
$custom: #af4ece;
$custom-light: #ca85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ece",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 285.469,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.20277,
    "h": 317.1
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#AF4ECE
secondary
#AED7A1
accent
#E0486D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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