#AF4CCE#AF4CCE

#AF4CCE is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.206 H 317.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF4CCE
RGBrgb(175, 76, 206)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 63%, 81%)
CMYKcmyk(15%, 63.1%, 0%, 19.2%)
CIE-LABlab(50.38, 59.53, -49.83)
CIE-LCHlch(50.38, 77.63, 320.07°)
OKLaboklab(59.79% 0.1509 -0.1395)
OKLCHoklch(59.79% 0.206 317.2)
XYZxyz(31.4026, 18.7403, 60.3436)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CCE #6BCE4C
analogous
#6E4CCE #AF4CCE #CE4CAC
triadic
#AF4CCE #CEAF4C #4CCEAF
tetradic
#AF4CCE #CE6E4C #6BCE4C #4CACCE
square
#AF4CCE #CE6E4C #6BCE4C #4CACCE
split-complementary
#AF4CCE #ACCE4C #4CCE6E
monochromatic
#68227D #8F2FAD #AF4CCE #C47CDB #DAACE8

Accessibility & contrast

On white

4.42
#AF4CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AF4CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CCE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CCE#FFFFFF#000000##000000
##AF4CCE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#AE6386
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4cce;
/* rgb */ color: rgb(175, 76, 206);
/* oklch */ color: oklch(59.8% 0.206 317.2);
Tailwind
colors: {
  custom: {
    50: '#ca84dd',
    500: '#af4cce',
    950: '#000000',
  },
}
SCSS
$custom: #af4cce;
$custom-light: #ca84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cce",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 285.692,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.20554,
    "h": 317.2
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#AF4CCE
secondary
#ADD6A0
accent
#E0486C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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