#AF4BBC#AF4BBC

#AF4BBC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.190 H 322.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4BBC
RGBrgb(175, 75, 188)
HSLhsl(293, 46%, 52%)
HSVhsv(293, 60%, 74%)
CMYKcmyk(6.9%, 60.1%, 0%, 26.3%)
CIE-LABlab(49.23, 56.51, -41.28)
CIE-LCHlch(49.23, 69.98, 323.85°)
OKLaboklab(58.63% 0.1517 -0.1146)
OKLCHoklch(58.63% 0.19 322.9)
XYZxyz(29.2715, 17.7785, 49.4570)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BBC #58BC4B
analogous
#774BBC #AF4BBC #BC4B91
triadic
#AF4BBC #BCAF4B #4BBCAF
tetradic
#AF4BBC #BC774B #58BC4B #4B91BC
square
#AF4BBC #BC774B #58BC4B #4B91BC
split-complementary
#AF4BBC #91BC4B #4BBC77
monochromatic
#5F2666 #883793 #AF4BBC #C378CD #D7A4DD

Accessibility & contrast

On white

4.61
#AF4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AF4BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BBC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BBC#FFFFFF#000000##FFFFFF
##AF4BBC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBF
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#B25C7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4bbc;
/* rgb */ color: rgb(175, 75, 188);
/* oklch */ color: oklch(58.6% 0.190 322.9);
Tailwind
colors: {
  custom: {
    50: '#ca83d0',
    500: '#af4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #af4bbc;
$custom-light: #ca83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bbc",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 293.097,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58634,
    "c": 0.19013,
    "h": 322.9
  },
  "luminance": 0.17777
}

Semantic roles & 50–950 ramp

primary
#AF4BBC
secondary
#9ECA99
accent
#D55261
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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