#AF49CB#AF49CB

#AF49CB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.207 H 318.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF49CB
RGBrgb(175, 73, 203)
HSLhsl(287, 56%, 54%)
HSVhsv(287, 64%, 80%)
CMYKcmyk(13.8%, 64%, 0%, 20.4%)
CIE-LABlab(49.73, 60.27, -49.15)
CIE-LCHlch(49.73, 77.77, 320.80°)
OKLaboklab(59.27% 0.1544 -0.1375)
OKLCHoklch(59.27% 0.207 318.3)
XYZxyz(30.8398, 18.1922, 58.3753)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49CB #65CB49
analogous
#6E49CB #AF49CB #CB49A6
triadic
#AF49CB #CBAF49 #49CBAF
tetradic
#AF49CB #CB6E49 #65CB49 #49A6CB
square
#AF49CB #CB6E49 #65CB49 #49A6CB
split-complementary
#AF49CB #A6CB49 #49CB6E
monochromatic
#652277 #8D30A7 #AF49CB #C479D9 #D9A8E6

Accessibility & contrast

On white

4.53
#AF49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF49CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49CB#FFFFFF#000000##000000
##AF49CB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#4F7AC8
Tritanopia (blue-blind)
#AF6084
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af49cb;
/* rgb */ color: rgb(175, 73, 203);
/* oklch */ color: oklch(59.3% 0.207 318.3);
Tailwind
colors: {
  custom: {
    50: '#ca82db',
    500: '#af49cb',
    950: '#000000',
  },
}
SCSS
$custom: #af49cb;
$custom-light: #ca82db;
$custom-dark: #000000;
JSON
{
  "hex": "#af49cb",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 287.077,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.20679,
    "h": 318.3
  },
  "luminance": 0.18191
}

Semantic roles & 50–950 ramp

primary
#AF49CB
secondary
#A8D49C
accent
#DF4969
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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