#AF43BE#AF43BE

#AF43BE is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.203 H 322.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF43BE
RGBrgb(175, 67, 190)
HSLhsl(293, 49%, 50%)
HSVhsv(293, 65%, 75%)
CMYKcmyk(7.9%, 64.7%, 0%, 25.5%)
CIE-LABlab(48.07, 60.38, -44.28)
CIE-LCHlch(48.07, 74.87, 323.74°)
OKLaboklab(57.83% 0.1613 -0.1233)
OKLCHoklch(57.83% 0.203 322.6)
XYZxyz(28.9797, 16.8475, 50.4307)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43BE #52BE43
analogous
#7143BE #AF43BE #BE438F
triadic
#AF43BE #BEAF43 #43BEAF
tetradic
#AF43BE #BE7143 #52BE43 #438FBE
square
#AF43BE #BE7143 #52BE43 #438FBE
split-complementary
#AF43BE #8FBE43 #43BE71
monochromatic
#5C2364 #863291 #AF43BE #C270CE #D69EDD

Accessibility & contrast

On white

4.81
#AF43BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF43BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43BE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43BE#FFFFFF#000000##FFFFFF
##AF43BE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#B1577B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af43be;
/* rgb */ color: rgb(175, 67, 190);
/* oklch */ color: oklch(57.8% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fd2',
    500: '#af43be',
    950: '#000000',
  },
}
SCSS
$custom: #af43be;
$custom-light: #ca7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af43be",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 292.683,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.20303,
    "h": 322.6
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#AF43BE
secondary
#9ACA93
accent
#D85060
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF43BE

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

Preview Lab → · Contrast checker → · Palette generator →

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