#AF49BB#AF49BB

#AF49BB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.192 H 323.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF49BB
RGBrgb(175, 73, 187)
HSLhsl(294, 46%, 51%)
HSVhsv(294, 61%, 73%)
CMYKcmyk(6.4%, 61%, 0%, 26.7%)
CIE-LABlab(48.84, 57.22, -41.30)
CIE-LCHlch(48.84, 70.57, 324.18°)
OKLaboklab(58.34% 0.1541 -0.1147)
OKLCHoklch(58.34% 0.192 323.3)
XYZxyz(29.0305, 17.4685, 48.8467)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49BB #55BB49
analogous
#7649BB #AF49BB #BB498E
triadic
#AF49BB #BBAF49 #49BBAF
tetradic
#AF49BB #BB7649 #55BB49 #498EBB
square
#AF49BB #BB7649 #55BB49 #498EBB
split-complementary
#AF49BB #8EBB49 #49BB76
monochromatic
#5E2564 #873691 #AF49BB #C376CC #D6A2DC

Accessibility & contrast

On white

4.67
#AF49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49BB#FFFFFF#000000##FFFFFF
##AF49BB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#B25A7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af49bb;
/* rgb */ color: rgb(175, 73, 187);
/* oklch */ color: oklch(58.3% 0.192 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca82d0',
    500: '#af49bb',
    950: '#000000',
  },
}
SCSS
$custom: #af49bb;
$custom-light: #ca82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af49bb",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 293.684,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.19209,
    "h": 323.3
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#AF49BB
secondary
#9CC997
accent
#D55360
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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