#AF50BC#AF50BC

#AF50BC is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.183 H 322.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF50BC
RGBrgb(175, 80, 188)
HSLhsl(293, 45%, 53%)
HSVhsv(293, 57%, 74%)
CMYKcmyk(6.9%, 57.4%, 0%, 26.3%)
CIE-LABlab(50.08, 54.19, -39.93)
CIE-LCHlch(50.08, 67.31, 323.61°)
OKLaboklab(59.25% 0.1454 -0.1107)
OKLCHoklch(59.25% 0.183 322.7)
XYZxyz(29.6240, 18.4836, 49.5745)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF50BC #5DBC50
analogous
#7950BC #AF50BC #BC5093
triadic
#AF50BC #BCAF50 #50BCAF
tetradic
#AF50BC #BC7950 #5DBC50 #5093BC
square
#AF50BC #BC7950 #5DBC50 #5093BC
split-complementary
#AF50BC #93BC50 #50BC79
monochromatic
#612869 #8A3996 #AF50BC #C37CCD #D7A9DE

Accessibility & contrast

On white

4.47
#AF50BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AF50BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF50BC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF50BC#FFFFFF#000000##000000
##AF50BC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#B15F7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af50bc;
/* rgb */ color: rgb(175, 80, 188);
/* oklch */ color: oklch(59.3% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#c986d0',
    500: '#af50bc',
    950: '#000000',
  },
}
SCSS
$custom: #af50bc;
$custom-light: #c986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af50bc",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 292.778,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.18274,
    "h": 322.7
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#AF50BC
secondary
#A2CB9C
accent
#D45363
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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