#AF4CCB#AF4CCB

#AF4CCB is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.6% C 0.203 H 318.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF4CCB
RGBrgb(175, 76, 203)
HSLhsl(287, 55%, 55%)
HSVhsv(287, 63%, 80%)
CMYKcmyk(13.8%, 62.6%, 0%, 20.4%)
CIE-LABlab(50.21, 58.94, -48.38)
CIE-LCHlch(50.21, 76.25, 320.62°)
OKLaboklab(59.61% 0.1509 -0.1353)
OKLCHoklch(59.61% 0.203 318.1)
XYZxyz(31.0416, 18.5959, 58.4426)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CCB #68CB4C
analogous
#704CCB #AF4CCB #CB4CA7
triadic
#AF4CCB #CBAF4C #4CCBAF
tetradic
#AF4CCB #CB704C #68CB4C #4CA7CB
square
#AF4CCB #CB704C #68CB4C #4CA7CB
split-complementary
#AF4CCB #A7CB4C #4CCB70
monochromatic
#662379 #8E31A9 #AF4CCB #C47BD9 #D9ABE7

Accessibility & contrast

On white

4.45
#AF4CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AF4CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CCB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CCB#FFFFFF#000000##000000
##AF4CCB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#AE6285
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4ccb;
/* rgb */ color: rgb(175, 76, 203);
/* oklch */ color: oklch(59.6% 0.203 318.1);
Tailwind
colors: {
  custom: {
    50: '#ca84db',
    500: '#af4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #af4ccb;
$custom-light: #ca84db;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ccb",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 286.772,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.20269,
    "h": 318.1
  },
  "luminance": 0.18595
}

Semantic roles & 50–950 ramp

primary
#AF4CCB
secondary
#AAD49F
accent
#DE496A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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