#AF49DE#AF49DE

#AF49DE is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.225 H 313.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF49DE
RGBrgb(175, 73, 222)
HSLhsl(281, 69%, 58%)
HSVhsv(281, 67%, 87%)
CMYKcmyk(21.2%, 67.1%, 0%, 12.9%)
CIE-LABlab(50.87, 64.07, -58.18)
CIE-LCHlch(50.87, 86.54, 317.76°)
OKLaboklab(60.45% 0.1536 -0.164)
OKLCHoklch(60.45% 0.225 313.1)
XYZxyz(33.2442, 19.1540, 71.0389)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49DE #78DE49
analogous
#6549DE #AF49DE #DE49C2
triadic
#AF49DE #DEAF49 #49DEAF
tetradic
#AF49DE #DE6549 #78DE49 #49C2DE
square
#AF49DE #DE6549 #78DE49 #49C2DE
split-complementary
#AF49DE #C2DE49 #49DE65
monochromatic
#6C1A92 #9324C6 #AF49DE #C67DE7 #DDB1F1

Accessibility & contrast

On white

4.35
#AF49DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF49DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49DE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49DE#FFFFFF#000000##000000
##AF49DE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#3E7BDB
Tritanopia (blue-blind)
#AA678E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af49de;
/* rgb */ color: rgb(175, 73, 222);
/* oklch */ color: oklch(60.4% 0.225 313.1);
Tailwind
colors: {
  custom: {
    50: '#cb83e9',
    500: '#af49de',
    950: '#000000',
  },
}
SCSS
$custom: #af49de;
$custom-light: #cb83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af49de",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 222
  },
  "hsl": {
    "h": 281.074,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.22468,
    "h": 313.1
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

primary
#AF49DE
secondary
#B6DFA4
accent
#EC3C73
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF49DE

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

Preview Lab → · Contrast checker → · Palette generator →

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