#AF3DC6#AF3DC6

#AF3DC6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.218 H 320.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3DC6
RGBrgb(175, 61, 198)
HSLhsl(290, 55%, 51%)
HSVhsv(290, 69%, 78%)
CMYKcmyk(11.6%, 69.2%, 0%, 22.4%)
CIE-LABlab(47.66, 64.28, -49.57)
CIE-LCHlch(47.66, 81.17, 322.36°)
OKLaboklab(57.68% 0.1677 -0.1387)
OKLCHoklch(57.68% 0.218 320.4)
XYZxyz(29.5398, 16.5302, 55.0498)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DC6 #54C63D
analogous
#6A3DC6 #AF3DC6 #C63D98
triadic
#AF3DC6 #C6AF3D #3DC6AF
tetradic
#AF3DC6 #C66A3D #54C63D #3D98C6
square
#AF3DC6 #C66A3D #54C63D #3D98C6
split-complementary
#AF3DC6 #98C63D #3DC66A
monochromatic
#5D1F6A #872D99 #AF3DC6 #C36CD4 #D69CE2

Accessibility & contrast

On white

4.88
#AF3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DC6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DC6#FFFFFF#000000##FFFFFF
##AF3DC61.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#B0567D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3dc6;
/* rgb */ color: rgb(175, 61, 198);
/* oklch */ color: oklch(57.7% 0.218 320.4);
Tailwind
colors: {
  custom: {
    50: '#cb7cd8',
    500: '#af3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #af3dc6;
$custom-light: #cb7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dc6",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 289.927,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.21761,
    "h": 320.4
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#AF3DC6
secondary
#9BCE91
accent
#DE4A63
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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