#AF4DDC#AF4DDC

#AF4DDC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.218 H 313.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF4DDC
RGBrgb(175, 77, 220)
HSLhsl(281, 67%, 58%)
HSVhsv(281, 65%, 86%)
CMYKcmyk(20.5%, 65%, 0%, 13.7%)
CIE-LABlab(51.37, 61.91, -56.23)
CIE-LCHlch(51.37, 83.64, 317.75°)
OKLaboklab(60.77% 0.1494 -0.1583)
OKLCHoklch(60.77% 0.218 313.3)
XYZxyz(33.2491, 19.5900, 69.7260)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DDC #7ADC4D
analogous
#674DDC #AF4DDC #DC4DC1
triadic
#AF4DDC #DCAF4D #4DDCAF
tetradic
#AF4DDC #DC674D #7ADC4D #4DC1DC
square
#AF4DDC #DC674D #7ADC4D #4DC1DC
split-complementary
#AF4DDC #C1DC4D #4DDC67
monochromatic
#6D1D92 #9327C5 #AF4DDC #C680E6 #DDB3F0

Accessibility & contrast

On white

4.27
#AF4DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AF4DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DDC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DDC#FFFFFF#000000##000000
##AF4DDC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#AA698E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4ddc;
/* rgb */ color: rgb(175, 77, 220);
/* oklch */ color: oklch(60.8% 0.218 313.3);
Tailwind
colors: {
  custom: {
    50: '#cb85e8',
    500: '#af4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #af4ddc;
$custom-light: #cb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ddc",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 281.119,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.21763,
    "h": 313.3
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#AF4DDC
secondary
#B8DFA6
accent
#EA3E74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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