#AF4FCE#AF4FCE

#AF4FCE is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.2% C 0.201 H 317.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF4FCE
RGBrgb(175, 79, 206)
HSLhsl(285, 56%, 56%)
HSVhsv(285, 62%, 81%)
CMYKcmyk(15%, 61.7%, 0%, 19.2%)
CIE-LABlab(50.88, 58.17, -49.04)
CIE-LCHlch(50.88, 76.08, 319.87°)
OKLaboklab(60.15% 0.1474 -0.1372)
OKLCHoklch(60.15% 0.201 317)
XYZxyz(31.6141, 19.1634, 60.4142)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FCE #6ECE4F
analogous
#6F4FCE #AF4FCE #CE4FAD
triadic
#AF4FCE #CEAF4F #4FCEAF
tetradic
#AF4FCE #CE6F4F #6ECE4F #4FADCE
square
#AF4FCE #CE6F4F #6ECE4F #4FADCE
split-complementary
#AF4FCE #ADCE4F #4FCE6F
monochromatic
#69237F #9031AF #AF4FCE #C57FDB #DBAFE9

Accessibility & contrast

On white

4.35
#AF4FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF4FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FCE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FCE#FFFFFF#000000##000000
##AF4FCE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#AE6587
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4fce;
/* rgb */ color: rgb(175, 79, 206);
/* oklch */ color: oklch(60.2% 0.201 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca86dd',
    500: '#af4fce',
    950: '#000000',
  },
}
SCSS
$custom: #af4fce;
$custom-light: #ca86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fce",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 285.354,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.20137,
    "h": 317
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#AF4FCE
secondary
#AFD7A2
accent
#E0486D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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