#AF4CCD#AF4CCD

#AF4CCD is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.7% C 0.205 H 317.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF4CCD
RGBrgb(175, 76, 205)
HSLhsl(286, 56%, 55%)
HSVhsv(286, 63%, 80%)
CMYKcmyk(14.6%, 62.9%, 0%, 19.6%)
CIE-LABlab(50.32, 59.33, -49.35)
CIE-LCHlch(50.32, 77.17, 320.25°)
OKLaboklab(59.73% 0.1509 -0.1381)
OKLCHoklch(59.73% 0.205 317.5)
XYZxyz(31.2815, 18.6919, 59.7059)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CCD #6ACD4C
analogous
#6F4CCD #AF4CCD #CD4CAA
triadic
#AF4CCD #CDAF4C #4CCDAF
tetradic
#AF4CCD #CD6F4C #6ACD4C #4CAACD
square
#AF4CCD #CD6F4C #6ACD4C #4CAACD
split-complementary
#AF4CCD #AACD4C #4CCD6F
monochromatic
#67237C #8F30AC #AF4CCD #C47CDA #DAACE8

Accessibility & contrast

On white

4.43
#AF4CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AF4CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CCD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CCD#FFFFFF#000000##000000
##AF4CCD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#507BCA
Tritanopia (blue-blind)
#AE6386
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4ccd;
/* rgb */ color: rgb(175, 76, 205);
/* oklch */ color: oklch(59.7% 0.205 317.5);
Tailwind
colors: {
  custom: {
    50: '#ca84dd',
    500: '#af4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #af4ccd;
$custom-light: #ca84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ccd",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 286.047,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59732,
    "c": 0.20459,
    "h": 317.5
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#AF4CCD
secondary
#ACD59F
accent
#E0486B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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