#AF3DC3#AF3DC3

#AF3DC3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.215 H 321.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF3DC3
RGBrgb(175, 61, 195)
HSLhsl(291, 53%, 50%)
HSVhsv(291, 69%, 76%)
CMYKcmyk(10.3%, 68.7%, 0%, 23.5%)
CIE-LABlab(47.49, 63.72, -48.11)
CIE-LCHlch(47.49, 79.84, 322.95°)
OKLaboklab(57.5% 0.1678 -0.1344)
OKLCHoklch(57.5% 0.215 321.3)
XYZxyz(29.1972, 16.3931, 53.2455)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DC3 #51C33D
analogous
#6C3DC3 #AF3DC3 #C33D94
triadic
#AF3DC3 #C3AF3D #3DC3AF
tetradic
#AF3DC3 #C36C3D #51C33D #3D94C3
square
#AF3DC3 #C36C3D #51C33D #3D94C3
split-complementary
#AF3DC3 #94C33D #3DC36C
monochromatic
#5C2066 #852E95 #AF3DC3 #C26CD1 #D69AE0

Accessibility & contrast

On white

4.91
#AF3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DC3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DC3#FFFFFF#000000##FFFFFF
##AF3DC31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0969C7
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#B1557C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3dc3;
/* rgb */ color: rgb(175, 61, 195);
/* oklch */ color: oklch(57.5% 0.215 321.3);
Tailwind
colors: {
  custom: {
    50: '#ca7cd6',
    500: '#af3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #af3dc3;
$custom-light: #ca7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dc3",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 291.045,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.21502,
    "h": 321.3
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#AF3DC3
secondary
#99CC90
accent
#DC4C61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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