#AF49DB#AF49DB

#AF49DB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.222 H 313.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF49DB
RGBrgb(175, 73, 219)
HSLhsl(282, 67%, 57%)
HSVhsv(282, 67%, 86%)
CMYKcmyk(20.1%, 66.7%, 0%, 14.1%)
CIE-LABlab(50.68, 63.46, -56.77)
CIE-LCHlch(50.68, 85.14, 318.18°)
OKLaboklab(60.26% 0.1538 -0.1598)
OKLCHoklch(60.26% 0.222 313.9)
XYZxyz(32.8458, 18.9946, 68.9402)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49DB #75DB49
analogous
#6649DB #AF49DB #DB49BE
triadic
#AF49DB #DBAF49 #49DBAF
tetradic
#AF49DB #DB6649 #75DB49 #49BEDB
square
#AF49DB #DB6649 #75DB49 #49BEDB
split-complementary
#AF49DB #BEDB49 #49DB66
monochromatic
#6B1C8E #9226C1 #AF49DB #C57CE5 #DCAFEF

Accessibility & contrast

On white

4.38
#AF49DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AF49DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49DB#FFFFFF#000000##000000
##AF49DB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#AB668C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af49db;
/* rgb */ color: rgb(175, 73, 219);
/* oklch */ color: oklch(60.3% 0.222 313.9);
Tailwind
colors: {
  custom: {
    50: '#cb83e7',
    500: '#af49db',
    950: '#000000',
  },
}
SCSS
$custom: #af49db;
$custom-light: #cb83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af49db",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 281.918,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.22183,
    "h": 313.9
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#AF49DB
secondary
#B4DDA2
accent
#EA3E72
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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