#AF3DC7#AF3DC7

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

Color values

HEX#AF3DC7
RGBrgb(175, 61, 199)
HSLhsl(290, 55%, 51%)
HSVhsv(290, 69%, 78%)
CMYKcmyk(12.1%, 69.3%, 0%, 22%)
CIE-LABlab(47.72, 64.46, -50.05)
CIE-LCHlch(47.72, 81.61, 322.17°)
OKLaboklab(57.75% 0.1677 -0.1401)
OKLCHoklch(57.75% 0.218 320.1)
XYZxyz(29.6555, 16.5764, 55.6593)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DC7 #55C73D
analogous
#6A3DC7 #AF3DC7 #C73D9A
triadic
#AF3DC7 #C7AF3D #3DC7AF
tetradic
#AF3DC7 #C76A3D #55C73D #3D9AC7
square
#AF3DC7 #C76A3D #55C73D #3D9AC7
split-complementary
#AF3DC7 #9AC73D #3DC76A
monochromatic
#5E1F6B #872D9A #AF3DC7 #C36CD5 #D69CE2

Accessibility & contrast

On white

4.87
#AF3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3DC7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DC7#FFFFFF#000000##FFFFFF
##AF3DC71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#B0567E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3dc7;
/* rgb */ color: rgb(175, 61, 199);
/* oklch */ color: oklch(57.7% 0.218 320.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cd9',
    500: '#af3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #af3dc7;
$custom-light: #cb7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dc7",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 289.565,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.21848,
    "h": 320.1
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#AF3DC7
secondary
#9CCE91
accent
#DF4963
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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