#AF4DD5#AF4DD5

#AF4DD5 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.211 H 315.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF4DD5
RGBrgb(175, 77, 213)
HSLhsl(283, 62%, 57%)
HSVhsv(283, 64%, 84%)
CMYKcmyk(17.8%, 63.8%, 0%, 16.5%)
CIE-LABlab(50.95, 60.48, -52.92)
CIE-LCHlch(50.95, 80.37, 318.82°)
OKLaboklab(60.34% 0.1496 -0.1486)
OKLCHoklch(60.34% 0.211 315.2)
XYZxyz(32.3414, 19.2269, 64.9454)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DD5 #73D54D
analogous
#6B4DD5 #AF4DD5 #D54DB7
triadic
#AF4DD5 #D5AF4D #4DD5AF
tetradic
#AF4DD5 #D56B4D #73D54D #4DB7D5
square
#AF4DD5 #D56B4D #73D54D #4DB7D5
split-complementary
#AF4DD5 #B7D54D #4DD56B
monochromatic
#6B2088 #922CB9 #AF4DD5 #C57FE1 #DCB0EC

Accessibility & contrast

On white

4.33
#AF4DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AF4DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DD5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DD5#FFFFFF#000000##000000
##AF4DD51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1474D9
Deuteranopia (green-blind)
#4B7CD2
Tritanopia (blue-blind)
#AC668A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4dd5;
/* rgb */ color: rgb(175, 77, 213);
/* oklch */ color: oklch(60.3% 0.211 315.2);
Tailwind
colors: {
  custom: {
    50: '#ca85e2',
    500: '#af4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #af4dd5;
$custom-light: #ca85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dd5",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 283.235,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60335,
    "c": 0.21087,
    "h": 315.2
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#AF4DD5
secondary
#B3DBA3
accent
#E54370
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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