#AF3DD2#AF3DD2

#AF3DD2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.228 H 317.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF3DD2
RGBrgb(175, 61, 210)
HSLhsl(286, 62%, 53%)
HSVhsv(286, 71%, 82%)
CMYKcmyk(16.7%, 71%, 0%, 17.6%)
CIE-LABlab(48.39, 66.54, -55.31)
CIE-LCHlch(48.39, 86.52, 320.27°)
OKLaboklab(58.44% 0.1669 -0.1555)
OKLCHoklch(58.44% 0.228 317)
XYZxyz(30.9791, 17.1059, 62.6302)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DD2 #60D23D
analogous
#643DD2 #AF3DD2 #D23DAA
triadic
#AF3DD2 #D2AF3D #3DD2AF
tetradic
#AF3DD2 #D2643D #60D23D #3DAAD2
square
#AF3DD2 #D2643D #60D23D #3DAAD2
split-complementary
#AF3DD2 #AAD23D #3DD264
monochromatic
#631C79 #8C28AA #AF3DD2 #C36FDE #D8A0E9

Accessibility & contrast

On white

4.75
#AF3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DD2#FFFFFF#000000##FFFFFF
##AF3DD21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#4076CF
Tritanopia (blue-blind)
#AD5B84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3dd2;
/* rgb */ color: rgb(175, 61, 210);
/* oklch */ color: oklch(58.4% 0.228 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb7de0',
    500: '#af3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #af3dd2;
$custom-light: #cb7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dd2",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 285.906,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.2281,
    "h": 317
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#AF3DD2
secondary
#A4D695
accent
#E54269
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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