#AF43BA#AF43BA

#AF43BA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.200 H 323.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF43BA
RGBrgb(175, 67, 186)
HSLhsl(294, 47%, 50%)
HSVhsv(294, 64%, 73%)
CMYKcmyk(5.9%, 64%, 0%, 27.1%)
CIE-LABlab(47.85, 59.64, -42.30)
CIE-LCHlch(47.85, 73.12, 324.65°)
OKLaboklab(57.6% 0.1612 -0.1175)
OKLCHoklch(57.6% 0.2 323.9)
XYZxyz(28.5485, 16.6751, 48.1597)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43BA #4EBA43
analogous
#7443BA #AF43BA #BA438A
triadic
#AF43BA #BAAF43 #43BAAF
tetradic
#AF43BA #BA7443 #4EBA43 #438ABA
square
#AF43BA #BA7443 #4EBA43 #438ABA
split-complementary
#AF43BA #8ABA43 #43BA74
monochromatic
#5A2360 #85338D #AF43BA #C36FCB #D69CDB

Accessibility & contrast

On white

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

On black

4.33
#AF43BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF43BA#FFFFFF#000000##FFFFFF
##AF43BA1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BE
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#B25579
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43ba;
/* rgb */ color: rgb(175, 67, 186);
/* oklch */ color: oklch(57.6% 0.200 323.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fcf',
    500: '#af43ba',
    950: '#000000',
  },
}
SCSS
$custom: #af43ba;
$custom-light: #ca7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af43ba",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 294.454,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.19952,
    "h": 323.9
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#AF43BA
secondary
#96C891
accent
#D7515D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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