#AF4CBD#AF4CBD

#AF4CBD is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.190 H 322.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF4CBD
RGBrgb(175, 76, 189)
HSLhsl(293, 46%, 52%)
HSVhsv(293, 60%, 74%)
CMYKcmyk(7.4%, 59.8%, 0%, 25.9%)
CIE-LABlab(49.45, 56.24, -41.51)
CIE-LCHlch(49.45, 69.90, 323.57°)
OKLaboklab(58.81% 0.1505 -0.1153)
OKLCHoklch(58.81% 0.19 322.5)
XYZxyz(29.4480, 17.9585, 50.0494)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CBD #5ABD4C
analogous
#774CBD #AF4CBD #BD4C93
triadic
#AF4CBD #BDAF4C #4CBDAF
tetradic
#AF4CBD #BD774C #5ABD4C #4C93BD
square
#AF4CBD #BD774C #5ABD4C #4C93BD
split-complementary
#AF4CBD #93BD4C #4CBD77
monochromatic
#602668 #893795 #AF4CBD #C379CD #D7A5DE

Accessibility & contrast

On white

4.57
#AF4CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF4CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CBD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CBD#FFFFFF#000000##000000
##AF4CBD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#366EC1
Deuteranopia (green-blind)
#5B79BA
Tritanopia (blue-blind)
#B15D7D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4cbd;
/* rgb */ color: rgb(175, 76, 189);
/* oklch */ color: oklch(58.8% 0.190 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca84d1',
    500: '#af4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #af4cbd;
$custom-light: #ca84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cbd",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 292.566,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58811,
    "c": 0.1896,
    "h": 322.5
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#AF4CBD
secondary
#A0CB9A
accent
#D65262
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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