#AF3ADF#AF3ADF

#AF3ADF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.243 H 313.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF3ADF
RGBrgb(175, 58, 223)
HSLhsl(283, 72%, 55%)
HSVhsv(283, 74%, 87%)
CMYKcmyk(21.5%, 74%, 0%, 12.5%)
CIE-LABlab(48.85, 70.16, -62.00)
CIE-LCHlch(48.85, 93.63, 318.53°)
OKLaboklab(59.03% 0.1682 -0.1751)
OKLCHoklch(59.03% 0.243 313.8)
XYZxyz(32.5092, 17.4689, 71.4571)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ADF #6ADF3A
analogous
#5C3ADF #AF3ADF #DF3ABD
triadic
#AF3ADF #DFAF3A #3ADFAF
tetradic
#AF3ADF #DF5C3A #6ADF3A #3ABDDF
square
#AF3ADF #DF5C3A #6ADF3A #3ABDDF
split-complementary
#AF3ADF #BDDF3A #3ADF5C
monochromatic
#671688 #8F1FBD #AF3ADF #C46FE8 #DAA3F0

Accessibility & contrast

On white

4.67
#AF3ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF3ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ADF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ADF#FFFFFF#000000##FFFFFF
##AF3ADF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#2C77DB
Tritanopia (blue-blind)
#AA5F8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af3adf;
/* rgb */ color: rgb(175, 58, 223);
/* oklch */ color: oklch(59.0% 0.243 313.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cea',
    500: '#af3adf',
    950: '#000000',
  },
}
SCSS
$custom: #af3adf;
$custom-light: #cc7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#af3adf",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 223
  },
  "hsl": {
    "h": 282.545,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.24278,
    "h": 313.8
  },
  "luminance": 0.17468
}

Semantic roles & 50–950 ramp

primary
#AF3ADF
secondary
#ACDD98
accent
#EF396E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF3ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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