#AF4CBF#AF4CBF

#AF4CBF is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.191 H 321.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4CBF
RGBrgb(175, 76, 191)
HSLhsl(292, 47%, 52%)
HSVhsv(292, 60%, 75%)
CMYKcmyk(8.4%, 60.2%, 0%, 25.1%)
CIE-LABlab(49.55, 56.62, -42.51)
CIE-LCHlch(49.55, 70.80, 323.10°)
OKLaboklab(58.92% 0.1506 -0.1182)
OKLCHoklch(58.92% 0.191 321.9)
XYZxyz(29.6666, 18.0459, 51.2007)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CBF #5CBF4C
analogous
#754CBF #AF4CBF #BF4C96
triadic
#AF4CBF #BFAF4C #4CBFAF
tetradic
#AF4CBF #BF754C #5CBF4C #4C96BF
square
#AF4CBF #BF754C #5CBF4C #4C96BF
split-complementary
#AF4CBF #96BF4C #4CBF75
monochromatic
#61266B #8A3698 #AF4CBF #C379CF #D7A6DF

Accessibility & contrast

On white

4.56
#AF4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF4CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CBF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CBF#FFFFFF#000000##000000
##AF4CBF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#597ABC
Tritanopia (blue-blind)
#B15D7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4cbf;
/* rgb */ color: rgb(175, 76, 191);
/* oklch */ color: oklch(58.9% 0.191 321.9);
Tailwind
colors: {
  custom: {
    50: '#ca84d3',
    500: '#af4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #af4cbf;
$custom-light: #ca84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cbf",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 291.652,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.19145,
    "h": 321.9
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#AF4CBF
secondary
#A1CC9A
accent
#D75164
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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