#AF3ED9#AF3ED9

#AF3ED9 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.233 H 315.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF3ED9
RGBrgb(175, 62, 217)
HSLhsl(284, 67%, 55%)
HSVhsv(284, 71%, 85%)
CMYKcmyk(19.4%, 71.4%, 0%, 14.9%)
CIE-LABlab(48.97, 67.52, -58.38)
CIE-LCHlch(48.97, 89.26, 319.15°)
OKLaboklab(58.99% 0.1653 -0.1645)
OKLCHoklch(58.99% 0.233 315.1)
XYZxyz(31.9242, 17.5701, 67.3419)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ED9 #68D93E
analogous
#623ED9 #AF3ED9 #D93EB6
triadic
#AF3ED9 #D9AF3E #3ED9AF
tetradic
#AF3ED9 #D9623E #68D93E #3EB6D9
square
#AF3ED9 #D9623E #68D93E #3EB6D9
split-complementary
#AF3ED9 #B6D93E #3ED962
monochromatic
#661A83 #8E24B6 #AF3ED9 #C471E3 #D9A4ED

Accessibility & contrast

On white

4.65
#AF3ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF3ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ED9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ED9#FFFFFF#000000##FFFFFF
##AF3ED91.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#3977D6
Tritanopia (blue-blind)
#AC5F88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af3ed9;
/* rgb */ color: rgb(175, 62, 217);
/* oklch */ color: oklch(59.0% 0.233 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb7de5',
    500: '#af3ed9',
    950: '#000000',
  },
}
SCSS
$custom: #af3ed9;
$custom-light: #cb7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ed9",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 283.742,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.23317,
    "h": 315.1
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#AF3ED9
secondary
#AADA99
accent
#EA3E6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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