#AF4FCD#AF4FCD

#AF4FCD is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.1% C 0.200 H 317.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF4FCD
RGBrgb(175, 79, 205)
HSLhsl(286, 56%, 56%)
HSVhsv(286, 61%, 80%)
CMYKcmyk(14.6%, 61.5%, 0%, 19.6%)
CIE-LABlab(50.82, 57.97, -48.56)
CIE-LCHlch(50.82, 75.61, 320.05°)
OKLaboklab(60.09% 0.1474 -0.1358)
OKLCHoklch(60.09% 0.2 317.3)
XYZxyz(31.4930, 19.1149, 59.7764)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FCD #6DCD4F
analogous
#704FCD #AF4FCD #CD4FAC
triadic
#AF4FCD #CDAF4F #4FCDAF
tetradic
#AF4FCD #CD704F #6DCD4F #4FACCD
square
#AF4FCD #CD704F #6DCD4F #4FACCD
split-complementary
#AF4FCD #ACCD4F #4FCD70
monochromatic
#68247E #9031AE #AF4FCD #C57FDB #DAAEE8

Accessibility & contrast

On white

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

On black

4.82
#AF4FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FCD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FCD#FFFFFF#000000##000000
##AF4FCD1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#AE6587
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4fcd;
/* rgb */ color: rgb(175, 79, 205);
/* oklch */ color: oklch(60.1% 0.200 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca86dd',
    500: '#af4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #af4fcd;
$custom-light: #ca86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fcd",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 285.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.2004,
    "h": 317.3
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#AF4FCD
secondary
#AED6A2
accent
#DF496D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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