#AF4DDF#AF4DDF

#AF4DDF is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.221 H 312.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF4DDF
RGBrgb(175, 77, 223)
HSLhsl(280, 70%, 59%)
HSVhsv(280, 65%, 87%)
CMYKcmyk(21.5%, 65.5%, 0%, 12.5%)
CIE-LABlab(51.55, 62.53, -57.64)
CIE-LCHlch(51.55, 85.05, 317.33°)
OKLaboklab(60.96% 0.1492 -0.1624)
OKLCHoklch(60.96% 0.221 312.6)
XYZxyz(33.6500, 19.7504, 71.8373)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DDF #7DDF4D
analogous
#664DDF #AF4DDF #DF4DC6
triadic
#AF4DDF #DFAF4D #4DDFAF
tetradic
#AF4DDF #DF664D #7DDF4D #4DC6DF
square
#AF4DDF #DF664D #7DDF4D #4DC6DF
split-complementary
#AF4DDF #C6DF4D #4DDF66
monochromatic
#6E1B97 #9424CA #AF4DDF #C681E8 #DEB5F2

Accessibility & contrast

On white

4.24
#AF4DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF4DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DDF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DDF#FFFFFF#000000##000000
##AF4DDF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#AA6A90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4ddf;
/* rgb */ color: rgb(175, 77, 223);
/* oklch */ color: oklch(61.0% 0.221 312.6);
Tailwind
colors: {
  custom: {
    50: '#cb85ea',
    500: '#af4ddf',
    950: '#000000',
  },
}
SCSS
$custom: #af4ddf;
$custom-light: #cb85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ddf",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 280.274,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60962,
    "c": 0.22054,
    "h": 312.6
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#AF4DDF
secondary
#BAE1A7
accent
#EC3B76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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