#AF3CD3#AF3CD3

#AF3CD3 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.230 H 316.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF3CD3
RGBrgb(175, 60, 211)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 72%, 83%)
CMYKcmyk(17.1%, 71.6%, 0%, 17.3%)
CIE-LABlab(48.32, 67.11, -55.99)
CIE-LCHlch(48.32, 87.40, 320.16°)
OKLaboklab(58.41% 0.1678 -0.1575)
OKLCHoklch(58.41% 0.23 316.8)
XYZxyz(31.0512, 17.0501, 63.2708)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CD3 #60D33C
analogous
#633CD3 #AF3CD3 #D33CAC
triadic
#AF3CD3 #D3AF3C #3CD3AF
tetradic
#AF3CD3 #D3633C #60D33C #3CACD3
square
#AF3CD3 #D3633C #60D33C #3CACD3
split-complementary
#AF3CD3 #ACD33C #3CD363
monochromatic
#631B79 #8C27AB #AF3CD3 #C36EDE #D8A0EA

Accessibility & contrast

On white

4.76
#AF3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF3CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CD3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CD3#FFFFFF#000000##FFFFFF
##AF3CD31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#3E76D0
Tritanopia (blue-blind)
#AD5B84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3cd3;
/* rgb */ color: rgb(175, 60, 211);
/* oklch */ color: oklch(58.4% 0.230 316.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ce1',
    500: '#af3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #af3cd3;
$custom-light: #cb7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cd3",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 285.695,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58411,
    "c": 0.23012,
    "h": 316.8
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

primary
#AF3CD3
secondary
#A4D695
accent
#E64269
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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