#AF49BA#AF49BA

#AF49BA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.191 H 323.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF49BA
RGBrgb(175, 73, 186)
HSLhsl(294, 45%, 51%)
HSVhsv(294, 61%, 73%)
CMYKcmyk(5.9%, 60.8%, 0%, 27.1%)
CIE-LABlab(48.79, 57.04, -40.80)
CIE-LCHlch(48.79, 70.13, 324.42°)
OKLaboklab(58.28% 0.1541 -0.1132)
OKLCHoklch(58.28% 0.191 323.7)
XYZxyz(28.9239, 17.4258, 48.2849)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49BA #54BA49
analogous
#7649BA #AF49BA #BA498C
triadic
#AF49BA #BAAF49 #49BAAF
tetradic
#AF49BA #BA7649 #54BA49 #498CBA
square
#AF49BA #BA7649 #54BA49 #498CBA
split-complementary
#AF49BA #8CBA49 #49BA76
monochromatic
#5D2663 #87368F #AF49BA #C375CB #D6A2DC

Accessibility & contrast

On white

4.68
#AF49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF49BA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49BA#FFFFFF#000000##FFFFFF
##AF49BA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#B2597B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af49ba;
/* rgb */ color: rgb(175, 73, 186);
/* oklch */ color: oklch(58.3% 0.191 323.7);
Tailwind
colors: {
  custom: {
    50: '#ca82cf',
    500: '#af49ba',
    950: '#000000',
  },
}
SCSS
$custom: #af49ba;
$custom-light: #ca82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af49ba",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 294.159,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.19119,
    "h": 323.7
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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