#AF4DD0#AF4DD0

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

Color values

HEX#AF4DD0
RGBrgb(175, 77, 208)
HSLhsl(285, 58%, 56%)
HSVhsv(285, 63%, 82%)
CMYKcmyk(15.9%, 63%, 0%, 18.4%)
CIE-LABlab(50.66, 59.48, -50.53)
CIE-LCHlch(50.66, 78.04, 319.65°)
OKLaboklab(60.03% 0.1497 -0.1416)
OKLCHoklch(60.03% 0.206 316.6)
XYZxyz(31.7165, 18.9770, 61.6545)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DD0 #6ED04D
analogous
#6D4DD0 #AF4DD0 #D04DB0
triadic
#AF4DD0 #D0AF4D #4DD0AF
tetradic
#AF4DD0 #D06D4D #6ED04D #4DB0D0
square
#AF4DD0 #D06D4D #6ED04D #4DB0D0
split-complementary
#AF4DD0 #B0D04D #4DD06D
monochromatic
#692281 #902FB1 #AF4DD0 #C57DDD #DBAEEA

Accessibility & contrast

On white

4.38
#AF4DD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4DD0#FFFFFF#000000##000000
##AF4DD01.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2073D4
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#AD6488
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4dd0;
/* rgb */ color: rgb(175, 77, 208);
/* oklch */ color: oklch(60.0% 0.206 316.6);
Tailwind
colors: {
  custom: {
    50: '#ca85df',
    500: '#af4dd0',
    950: '#000000',
  },
}
SCSS
$custom: #af4dd0;
$custom-light: #ca85df;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dd0",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 208
  },
  "hsl": {
    "h": 284.885,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.20607,
    "h": 316.6
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#AF4DD0
secondary
#AFD8A1
accent
#E1466D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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