#AF4ABB#AF4ABB

#AF4ABB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.191 H 323.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF4ABB
RGBrgb(175, 74, 187)
HSLhsl(294, 45%, 51%)
HSVhsv(294, 60%, 73%)
CMYKcmyk(6.4%, 60.4%, 0%, 26.7%)
CIE-LABlab(49.01, 56.77, -41.04)
CIE-LCHlch(49.01, 70.06, 324.13°)
OKLaboklab(58.46% 0.1529 -0.1139)
OKLCHoklch(58.46% 0.191 323.3)
XYZxyz(29.0968, 17.6009, 48.8688)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ABB #56BB4A
analogous
#764ABB #AF4ABB #BB4A8E
triadic
#AF4ABB #BBAF4A #4ABBAF
tetradic
#AF4ABB #BB764A #56BB4A #4A8EBB
square
#AF4ABB #BB764A #56BB4A #4A8EBB
split-complementary
#AF4ABB #8EBB4A #4ABB76
monochromatic
#5E2665 #883791 #AF4ABB #C376CC #D6A3DC

Accessibility & contrast

On white

4.65
#AF4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF4ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4ABB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ABB#FFFFFF#000000##FFFFFF
##AF4ABB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#5A79B8
Tritanopia (blue-blind)
#B25B7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4abb;
/* rgb */ color: rgb(175, 74, 187);
/* oklch */ color: oklch(58.5% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca83d0',
    500: '#af4abb',
    950: '#000000',
  },
}
SCSS
$custom: #af4abb;
$custom-light: #ca83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4abb",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 293.628,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.19066,
    "h": 323.3
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#AF4ABB
secondary
#9DC997
accent
#D55361
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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