#AF4DDE#AF4DDE

#AF4DDE is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.220 H 312.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF4DDE
RGBrgb(175, 77, 222)
HSLhsl(281, 69%, 59%)
HSVhsv(281, 65%, 87%)
CMYKcmyk(21.2%, 65.3%, 0%, 12.9%)
CIE-LABlab(51.49, 62.33, -57.17)
CIE-LCHlch(51.49, 84.58, 317.47°)
OKLaboklab(60.9% 0.1493 -0.161)
OKLCHoklch(60.9% 0.22 312.8)
XYZxyz(33.5156, 19.6966, 71.1294)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DDE #7CDE4D
analogous
#664DDE #AF4DDE #DE4DC4
triadic
#AF4DDE #DEAF4D #4DDEAF
tetradic
#AF4DDE #DE664D #7CDE4D #4DC4DE
square
#AF4DDE #DE664D #7CDE4D #4DC4DE
split-complementary
#AF4DDE #C4DE4D #4DDE66
monochromatic
#6E1C95 #9425C9 #AF4DDE #C681E8 #DDB4F1

Accessibility & contrast

On white

4.25
#AF4DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AF4DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DDE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DDE#FFFFFF#000000##000000
##AF4DDE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#427DDB
Tritanopia (blue-blind)
#AA6A8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4dde;
/* rgb */ color: rgb(175, 77, 222);
/* oklch */ color: oklch(60.9% 0.220 312.8);
Tailwind
colors: {
  custom: {
    50: '#cb85e9',
    500: '#af4dde',
    950: '#000000',
  },
}
SCSS
$custom: #af4dde;
$custom-light: #cb85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dde",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 280.552,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.21957,
    "h": 312.8
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#AF4DDE
secondary
#B9E0A7
accent
#EC3C75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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