#AF3DD5#AF3DD5

#AF3DD5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.231 H 316.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF3DD5
RGBrgb(175, 61, 213)
HSLhsl(285, 64%, 54%)
HSVhsv(285, 71%, 84%)
CMYKcmyk(17.8%, 71.4%, 0%, 16.5%)
CIE-LABlab(48.58, 67.12, -56.72)
CIE-LCHlch(48.58, 87.88, 319.80°)
OKLaboklab(58.64% 0.1666 -0.1596)
OKLCHoklch(58.64% 0.231 316.2)
XYZxyz(31.3563, 17.2568, 64.6171)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DD5 #63D53D
analogous
#633DD5 #AF3DD5 #D53DAF
triadic
#AF3DD5 #D5AF3D #3DD5AF
tetradic
#AF3DD5 #D5633D #63D53D #3DAFD5
square
#AF3DD5 #D5633D #63D53D #3DAFD5
split-complementary
#AF3DD5 #AFD53D #3DD563
monochromatic
#641B7D #8D26AF #AF3DD5 #C46FE0 #D8A2EB

Accessibility & contrast

On white

4.72
#AF3DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AF3DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DD5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DD5#FFFFFF#000000##FFFFFF
##AF3DD51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#3D77D2
Tritanopia (blue-blind)
#AD5C86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3dd5;
/* rgb */ color: rgb(175, 61, 213);
/* oklch */ color: oklch(58.6% 0.231 316.2);
Tailwind
colors: {
  custom: {
    50: '#cb7de3',
    500: '#af3dd5',
    950: '#000000',
  },
}
SCSS
$custom: #af3dd5;
$custom-light: #cb7de3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dd5",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 285,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.23075,
    "h": 316.2
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#AF3DD5
secondary
#A7D796
accent
#E7406A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A15
muted
#837C84

Preview Lab

Preview with #AF3DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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