#AF43BB#AF43BB

#AF43BB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.200 H 323.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF43BB
RGBrgb(175, 67, 187)
HSLhsl(294, 47%, 50%)
HSVhsv(294, 64%, 73%)
CMYKcmyk(6.4%, 64.2%, 0%, 26.7%)
CIE-LABlab(47.90, 59.83, -42.80)
CIE-LCHlch(47.90, 73.56, 324.42°)
OKLaboklab(57.66% 0.1613 -0.119)
OKLCHoklch(57.66% 0.2 323.6)
XYZxyz(28.6552, 16.7177, 48.7216)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43BB #4FBB43
analogous
#7343BB #AF43BB #BB438B
triadic
#AF43BB #BBAF43 #43BBAF
tetradic
#AF43BB #BB7343 #4FBB43 #438BBB
square
#AF43BB #BB7343 #4FBB43 #438BBB
split-complementary
#AF43BB #8BBB43 #43BB73
monochromatic
#5B2361 #85338E #AF43BB #C270CC #D59DDC

Accessibility & contrast

On white

4.84
#AF43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43BB#FFFFFF#000000##FFFFFF
##AF43BB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#B25679
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43bb;
/* rgb */ color: rgb(175, 67, 187);
/* oklch */ color: oklch(57.7% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fd0',
    500: '#af43bb',
    950: '#000000',
  },
}
SCSS
$custom: #af43bb;
$custom-light: #ca7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af43bb",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 294,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.2004,
    "h": 323.6
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#AF43BB
secondary
#97C892
accent
#D7515E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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