#AF4DCF#AF4DCF

#AF4DCF is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.205 H 316.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF4DCF
RGBrgb(175, 77, 207)
HSLhsl(285, 58%, 56%)
HSVhsv(285, 63%, 81%)
CMYKcmyk(15.5%, 62.8%, 0%, 18.8%)
CIE-LABlab(50.60, 59.28, -50.05)
CIE-LCHlch(50.60, 77.58, 319.82°)
OKLaboklab(59.97% 0.1497 -0.1402)
OKLCHoklch(59.97% 0.205 316.9)
XYZxyz(31.5939, 18.9279, 61.0086)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DCF #6DCF4D
analogous
#6E4DCF #AF4DCF #CF4DAE
triadic
#AF4DCF #CFAF4D #4DCFAF
tetradic
#AF4DCF #CF6E4D #6DCF4D #4DAECF
square
#AF4DCF #CF6E4D #6DCF4D #4DAECF
split-complementary
#AF4DCF #AECF4D #4DCF6E
monochromatic
#68227F #902FAF #AF4DCF #C57DDC #DAADE9

Accessibility & contrast

On white

4.39
#AF4DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AF4DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DCF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DCF#FFFFFF#000000##000000
##AF4DCF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#AE6487
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4dcf;
/* rgb */ color: rgb(175, 77, 207);
/* oklch */ color: oklch(60.0% 0.205 316.9);
Tailwind
colors: {
  custom: {
    50: '#ca85de',
    500: '#af4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #af4dcf;
$custom-light: #ca85de;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dcf",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 285.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.20512,
    "h": 316.9
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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