#AF49CF#AF49CF

#AF49CF is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.211 H 317.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF49CF
RGBrgb(175, 73, 207)
HSLhsl(286, 58%, 55%)
HSVhsv(286, 65%, 81%)
CMYKcmyk(15.5%, 64.7%, 0%, 18.8%)
CIE-LABlab(49.96, 61.05, -51.08)
CIE-LCHlch(49.96, 79.60, 320.08°)
OKLaboklab(59.51% 0.1544 -0.1432)
OKLCHoklch(59.51% 0.211 317.2)
XYZxyz(31.3226, 18.3853, 60.9182)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49CF #69CF49
analogous
#6C49CF #AF49CF #CF49AC
triadic
#AF49CF #CFAF49 #49CFAF
tetradic
#AF49CF #CF6C49 #69CF49 #49ACCF
square
#AF49CF #CF6C49 #69CF49 #49ACCF
split-complementary
#AF49CF #ACCF49 #49CF6C
monochromatic
#67217D #8F2EAD #AF49CF #C479DC #DAAAE9

Accessibility & contrast

On white

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

On black

4.68
#AF49CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49CF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49CF#FFFFFF#000000##000000
##AF49CF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1570D3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#AE6186
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af49cf;
/* rgb */ color: rgb(175, 73, 207);
/* oklch */ color: oklch(59.5% 0.211 317.2);
Tailwind
colors: {
  custom: {
    50: '#ca83de',
    500: '#af49cf',
    950: '#000000',
  },
}
SCSS
$custom: #af49cf;
$custom-light: #ca83de;
$custom-dark: #000000;
JSON
{
  "hex": "#af49cf",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 285.672,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.21053,
    "h": 317.2
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#AF49CF
secondary
#ABD69E
accent
#E1466B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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