#AF5CBC#AF5CBC

#AF5CBC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.9% C 0.164 H 322.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF5CBC
RGBrgb(175, 92, 188)
HSLhsl(292, 42%, 55%)
HSVhsv(292, 51%, 74%)
CMYKcmyk(6.9%, 51.1%, 0%, 26.3%)
CIE-LABlab(52.29, 48.28, -36.46)
CIE-LCHlch(52.29, 60.50, 322.95°)
OKLaboklab(60.88% 0.1292 -0.1008)
OKLCHoklch(60.88% 0.164 322)
XYZxyz(30.5825, 20.4004, 49.8940)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CBC #69BC5C
analogous
#7F5CBC #AF5CBC #BC5C99
triadic
#AF5CBC #BCAF5C #5CBCAF
tetradic
#AF5CBC #BC7F5C #69BC5C #5C99BC
square
#AF5CBC #BC7F5C #69BC5C #5C99BC
split-complementary
#AF5CBC #99BC5C #5CBC7F
monochromatic
#672E70 #8F409B #AF5CBC #C487CE #DAB3E0

Accessibility & contrast

On white

4.13
#AF5CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AF5CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CBC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CBC#FFFFFF#000000##000000
##AF5CBC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77BF
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#B16984
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af5cbc;
/* rgb */ color: rgb(175, 92, 188);
/* oklch */ color: oklch(60.9% 0.164 322.0);
Tailwind
colors: {
  custom: {
    50: '#c98dd0',
    500: '#af5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #af5cbc;
$custom-light: #c98dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cbc",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 291.875,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.16386,
    "h": 322
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#AF5CBC
secondary
#ABCEA6
accent
#D25667
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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