#AF49DD#AF49DD

#AF49DD is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.224 H 313.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF49DD
RGBrgb(175, 73, 221)
HSLhsl(281, 69%, 58%)
HSVhsv(281, 67%, 87%)
CMYKcmyk(20.8%, 67%, 0%, 13.3%)
CIE-LABlab(50.80, 63.86, -57.71)
CIE-LCHlch(50.80, 86.07, 317.90°)
OKLaboklab(60.38% 0.1537 -0.1626)
OKLCHoklch(60.38% 0.224 313.4)
XYZxyz(33.1106, 19.1005, 70.3352)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49DD #77DD49
analogous
#6549DD #AF49DD #DD49C1
triadic
#AF49DD #DDAF49 #49DDAF
tetradic
#AF49DD #DD6549 #77DD49 #49C1DD
square
#AF49DD #DD6549 #77DD49 #49C1DD
split-complementary
#AF49DD #C1DD49 #49DD65
monochromatic
#6C1B91 #9325C4 #AF49DD #C67DE7 #DCB0F0

Accessibility & contrast

On white

4.36
#AF49DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AF49DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49DD#FFFFFF#000000##000000
##AF49DD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#AA678D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af49dd;
/* rgb */ color: rgb(175, 73, 221);
/* oklch */ color: oklch(60.4% 0.224 313.4);
Tailwind
colors: {
  custom: {
    50: '#cb83e8',
    500: '#af49dd',
    950: '#000000',
  },
}
SCSS
$custom: #af49dd;
$custom-light: #cb83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af49dd",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 281.351,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.22373,
    "h": 313.4
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#AF49DD
secondary
#B6DFA3
accent
#EB3C73
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF49DD

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

Preview Lab → · Contrast checker → · Palette generator →

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