#AF4DC3#AF4DC3

#AF4DC3 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.194 H 320.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF4DC3
RGBrgb(175, 77, 195)
HSLhsl(290, 50%, 53%)
HSVhsv(290, 61%, 76%)
CMYKcmyk(10.3%, 60.5%, 0%, 23.5%)
CIE-LABlab(49.93, 56.92, -44.21)
CIE-LCHlch(49.93, 72.08, 322.16°)
OKLaboklab(59.27% 0.1495 -0.1232)
OKLCHoklch(59.27% 0.194 320.5)
XYZxyz(30.1822, 18.3633, 53.5738)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DC3 #61C34D
analogous
#744DC3 #AF4DC3 #C34D9C
triadic
#AF4DC3 #C3AF4D #4DC3AF
tetradic
#AF4DC3 #C3744D #61C34D #4D9CC3
square
#AF4DC3 #C3744D #61C34D #4D9CC3
split-complementary
#AF4DC3 #9CC34D #4DC374
monochromatic
#632670 #8C359E #AF4DC3 #C47BD2 #D8A9E2

Accessibility & contrast

On white

4.49
#AF4DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AF4DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DC3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DC3#FFFFFF#000000##000000
##AF4DC31.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C7
Deuteranopia (green-blind)
#587AC0
Tritanopia (blue-blind)
#B06081
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4dc3;
/* rgb */ color: rgb(175, 77, 195);
/* oklch */ color: oklch(59.3% 0.194 320.5);
Tailwind
colors: {
  custom: {
    50: '#ca84d6',
    500: '#af4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #af4dc3;
$custom-light: #ca84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dc3",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 289.831,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59269,
    "c": 0.19374,
    "h": 320.5
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#AF4DC3
secondary
#A5CF9D
accent
#D94F66
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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