#AF4DBC#AF4DBC

#AF4DBC is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.187 H 322.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4DBC
RGBrgb(175, 77, 188)
HSLhsl(293, 45%, 52%)
HSVhsv(293, 59%, 74%)
CMYKcmyk(6.9%, 59%, 0%, 26.3%)
CIE-LABlab(49.56, 55.59, -40.75)
CIE-LCHlch(49.56, 68.93, 323.76°)
OKLaboklab(58.88% 0.1492 -0.1131)
OKLCHoklch(58.88% 0.187 322.8)
XYZxyz(29.4093, 18.0541, 49.5029)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DBC #5ABC4D
analogous
#784DBC #AF4DBC #BC4D92
triadic
#AF4DBC #BCAF4D #4DBCAF
tetradic
#AF4DBC #BC784D #5ABC4D #4D92BC
square
#AF4DBC #BC784D #5ABC4D #4D92BC
split-complementary
#AF4DBC #92BC4D #4DBC78
monochromatic
#602768 #893894 #AF4DBC #C379CD #D7A6DD

Accessibility & contrast

On white

4.55
#AF4DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF4DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DBC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DBC#FFFFFF#000000##000000
##AF4DBC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBF
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#B25D7D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4dbc;
/* rgb */ color: rgb(175, 77, 188);
/* oklch */ color: oklch(58.9% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#ca84d0',
    500: '#af4dbc',
    950: '#000000',
  },
}
SCSS
$custom: #af4dbc;
$custom-light: #ca84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dbc",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 292.973,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.18721,
    "h": 322.8
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#AF4DBC
secondary
#A0CB9A
accent
#D55362
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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