#AF3ED1#AF3ED1

#AF3ED1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.226 H 317.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF3ED1
RGBrgb(175, 62, 209)
HSLhsl(286, 62%, 53%)
HSVhsv(286, 70%, 82%)
CMYKcmyk(16.3%, 70.3%, 0%, 18%)
CIE-LABlab(48.47, 65.97, -54.62)
CIE-LCHlch(48.47, 85.64, 320.38°)
OKLaboklab(58.47% 0.166 -0.1535)
OKLCHoklch(58.47% 0.226 317.2)
XYZxyz(30.9088, 17.1640, 61.9941)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ED1 #60D13E
analogous
#653ED1 #AF3ED1 #D13EAA
triadic
#AF3ED1 #D1AF3E #3ED1AF
tetradic
#AF3ED1 #D1653E #60D13E #3EAAD1
square
#AF3ED1 #D1653E #60D13E #3EAAD1
split-complementary
#AF3ED1 #AAD13E #3ED165
monochromatic
#631D78 #8C28A9 #AF3ED1 #C36FDD #D8A1E9

Accessibility & contrast

On white

4.74
#AF3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF3ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ED1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ED1#FFFFFF#000000##FFFFFF
##AF3ED11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#4176CE
Tritanopia (blue-blind)
#AD5B84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3ed1;
/* rgb */ color: rgb(175, 62, 209);
/* oklch */ color: oklch(58.5% 0.226 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb7de0',
    500: '#af3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #af3ed1;
$custom-light: #cb7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ed1",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 286.122,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58473,
    "c": 0.22607,
    "h": 317.2
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#AF3ED1
secondary
#A4D596
accent
#E54369
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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