#AF48BE#AF48BE

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

Color values

HEX#AF48BE
RGBrgb(175, 72, 190)
HSLhsl(292, 48%, 51%)
HSVhsv(292, 62%, 75%)
CMYKcmyk(7.9%, 62.1%, 0%, 25.5%)
CIE-LABlab(48.84, 58.22, -43.05)
CIE-LCHlch(48.84, 72.41, 323.52°)
OKLaboklab(58.39% 0.1555 -0.1197)
OKLCHoklch(58.39% 0.196 322.4)
XYZxyz(29.2899, 17.4679, 50.5341)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48BE #57BE48
analogous
#7448BE #AF48BE #BE4892
triadic
#AF48BE #BEAF48 #48BEAF
tetradic
#AF48BE #BE7448 #57BE48 #4892BE
square
#AF48BE #BE7448 #57BE48 #4892BE
split-complementary
#AF48BE #92BE48 #48BE74
monochromatic
#5F2567 #883594 #AF48BE #C375CE #D6A2DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF48BE#FFFFFF#000000##FFFFFF
##AF48BE1.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)
#2F6CC2
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#B15A7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af48be;
/* rgb */ color: rgb(175, 72, 190);
/* oklch */ color: oklch(58.4% 0.196 322.4);
Tailwind
colors: {
  custom: {
    50: '#ca82d2',
    500: '#af48be',
    950: '#000000',
  },
}
SCSS
$custom: #af48be;
$custom-light: #ca82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af48be",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 292.373,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.19621,
    "h": 322.4
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#AF48BE
secondary
#9ECB97
accent
#D75162
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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