#AF4BD1#AF4BD1

#AF4BD1 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.210 H 316.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF4BD1
RGBrgb(175, 75, 209)
HSLhsl(285, 59%, 56%)
HSVhsv(285, 64%, 82%)
CMYKcmyk(16.3%, 64.1%, 0%, 18%)
CIE-LABlab(50.39, 60.57, -51.53)
CIE-LCHlch(50.39, 79.52, 319.61°)
OKLaboklab(59.86% 0.152 -0.1445)
OKLCHoklch(59.86% 0.21 316.5)
XYZxyz(31.7022, 18.7508, 62.2586)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BD1 #6DD14B
analogous
#6C4BD1 #AF4BD1 #D14BB0
triadic
#AF4BD1 #D1AF4B #4BD1AF
tetradic
#AF4BD1 #D16C4B #6DD14B #4BB0D1
square
#AF4BD1 #D16C4B #6DD14B #4BB0D1
split-complementary
#AF4BD1 #B0D14B #4BD16C
monochromatic
#682181 #902DB1 #AF4BD1 #C57CDD #DAACEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4BD1#FFFFFF#000000##000000
##AF4BD11.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)
#1772D5
Deuteranopia (green-blind)
#4C7BCE
Tritanopia (blue-blind)
#AD6388
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4bd1;
/* rgb */ color: rgb(175, 75, 209);
/* oklch */ color: oklch(59.9% 0.210 316.5);
Tailwind
colors: {
  custom: {
    50: '#ca84e0',
    500: '#af4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #af4bd1;
$custom-light: #ca84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bd1",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 284.776,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.20974,
    "h": 316.5
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#AF4BD1
secondary
#AED8A0
accent
#E2456D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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