#AF4DC0#AF4DC0

#AF4DC0 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.191 H 321.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF4DC0
RGBrgb(175, 77, 192)
HSLhsl(291, 48%, 53%)
HSVhsv(291, 60%, 75%)
CMYKcmyk(8.9%, 59.9%, 0%, 24.7%)
CIE-LABlab(49.77, 56.35, -42.73)
CIE-LCHlch(49.77, 70.72, 322.82°)
OKLaboklab(59.1% 0.1494 -0.1189)
OKLCHoklch(59.1% 0.191 321.5)
XYZxyz(29.8464, 18.2289, 51.8054)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DC0 #5EC04D
analogous
#754DC0 #AF4DC0 #C04D98
triadic
#AF4DC0 #C0AF4D #4DC0AF
tetradic
#AF4DC0 #C0754D #5EC04D #4D98C0
square
#AF4DC0 #C0754D #5EC04D #4D98C0
split-complementary
#AF4DC0 #98C04D #4DC075
monochromatic
#62266C #8B3699 #AF4DC0 #C37AD0 #D8A7E0

Accessibility & contrast

On white

4.52
#AF4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AF4DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DC0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DC0#FFFFFF#000000##000000
##AF4DC01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#356FC4
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#B15F7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4dc0;
/* rgb */ color: rgb(175, 77, 192);
/* oklch */ color: oklch(59.1% 0.191 321.5);
Tailwind
colors: {
  custom: {
    50: '#ca84d3',
    500: '#af4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #af4dc0;
$custom-light: #ca84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dc0",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 291.13,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.591,
    "c": 0.19093,
    "h": 321.5
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#AF4DC0
secondary
#A3CD9B
accent
#D75064
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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