#AF3CC3#AF3CC3

#AF3CC3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.216 H 321.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF3CC3
RGBrgb(175, 60, 195)
HSLhsl(291, 53%, 50%)
HSVhsv(291, 69%, 76%)
CMYKcmyk(10.3%, 69.2%, 0%, 23.5%)
CIE-LABlab(47.35, 64.11, -48.33)
CIE-LCHlch(47.35, 80.28, 322.99°)
OKLaboklab(57.4% 0.1689 -0.135)
OKLCHoklch(57.4% 0.216 321.4)
XYZxyz(29.1443, 16.2874, 53.2278)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CC3 #50C33C
analogous
#6B3CC3 #AF3CC3 #C33C94
triadic
#AF3CC3 #C3AF3C #3CC3AF
tetradic
#AF3CC3 #C36B3C #50C33C #3C94C3
square
#AF3CC3 #C36B3C #50C33C #3C94C3
split-complementary
#AF3CC3 #94C33C #3CC36B
monochromatic
#5B1F65 #852E94 #AF3CC3 #C26BD1 #D59AE0

Accessibility & contrast

On white

4.93
#AF3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CC3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CC3#FFFFFF#000000##FFFFFF
##AF3CC31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0368C7
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#B1547B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3cc3;
/* rgb */ color: rgb(175, 60, 195);
/* oklch */ color: oklch(57.4% 0.216 321.4);
Tailwind
colors: {
  custom: {
    50: '#cb7cd6',
    500: '#af3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #af3cc3;
$custom-light: #cb7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cc3",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 291.111,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.57404,
    "c": 0.21622,
    "h": 321.4
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#AF3CC3
secondary
#98CC8F
accent
#DC4B61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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