#AF4DD3#AF4DD3

#AF4DD3 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.209 H 315.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF4DD3
RGBrgb(175, 77, 211)
HSLhsl(284, 60%, 56%)
HSVhsv(284, 64%, 83%)
CMYKcmyk(17.1%, 63.5%, 0%, 17.3%)
CIE-LABlab(50.83, 60.08, -51.97)
CIE-LCHlch(50.83, 79.44, 319.14°)
OKLaboklab(60.21% 0.1497 -0.1458)
OKLCHoklch(60.21% 0.209 315.8)
XYZxyz(32.0891, 19.1260, 63.6167)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DD3 #71D34D
analogous
#6C4DD3 #AF4DD3 #D34DB4
triadic
#AF4DD3 #D3AF4D #4DD3AF
tetradic
#AF4DD3 #D36C4D #71D34D #4DB4D3
square
#AF4DD3 #D36C4D #71D34D #4DB4D3
split-complementary
#AF4DD3 #B4D34D #4DD36C
monochromatic
#6A2185 #912DB6 #AF4DD3 #C57EDF #DBAFEB

Accessibility & contrast

On white

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

On black

4.83
#AF4DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DD3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DD3#FFFFFF#000000##000000
##AF4DD31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1973D7
Deuteranopia (green-blind)
#4C7CD0
Tritanopia (blue-blind)
#AD6689
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4dd3;
/* rgb */ color: rgb(175, 77, 211);
/* oklch */ color: oklch(60.2% 0.209 315.8);
Tailwind
colors: {
  custom: {
    50: '#ca85e1',
    500: '#af4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #af4dd3;
$custom-light: #ca85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dd3",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 283.881,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.20895,
    "h": 315.8
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#AF4DD3
secondary
#B1D9A2
accent
#E4446F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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