#AF4BCE#AF4BCE

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

Color values

HEX#AF4BCE
RGBrgb(175, 75, 206)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 64%, 81%)
CMYKcmyk(15%, 63.6%, 0%, 19.2%)
CIE-LABlab(50.22, 59.97, -50.09)
CIE-LCHlch(50.22, 78.14, 320.13°)
OKLaboklab(59.68% 0.1521 -0.1403)
OKLCHoklch(59.68% 0.207 317.3)
XYZxyz(31.3342, 18.6036, 60.3209)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BCE #6ACE4B
analogous
#6E4BCE #AF4BCE #CE4BAB
triadic
#AF4BCE #CEAF4B #4BCEAF
tetradic
#AF4BCE #CE6E4B #6ACE4B #4BABCE
square
#AF4BCE #CE6E4B #6ACE4B #4BABCE
split-complementary
#AF4BCE #ABCE4B #4BCE6E
monochromatic
#67227D #8F2FAD #AF4BCE #C47BDB #DAABE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4BCE#FFFFFF#000000##000000
##AF4BCE1.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)
#1E71D2
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#AE6286
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4bce;
/* rgb */ color: rgb(175, 75, 206);
/* oklch */ color: oklch(59.7% 0.207 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca84dd',
    500: '#af4bce',
    950: '#000000',
  },
}
SCSS
$custom: #af4bce;
$custom-light: #ca84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bce",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 285.802,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.2069,
    "h": 317.3
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#AF4BCE
secondary
#ACD69F
accent
#E0476C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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