#AF4FD1#AF4FD1

#AF4FD1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.204 H 316.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF4FD1
RGBrgb(175, 79, 209)
HSLhsl(284, 59%, 56%)
HSVhsv(284, 62%, 82%)
CMYKcmyk(16.3%, 62.2%, 0%, 18%)
CIE-LABlab(51.05, 58.77, -50.48)
CIE-LCHlch(51.05, 77.47, 319.34°)
OKLaboklab(60.33% 0.1474 -0.1415)
OKLCHoklch(60.33% 0.204 316.2)
XYZxyz(31.9820, 19.3105, 62.3518)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FD1 #71D14F
analogous
#6E4FD1 #AF4FD1 #D14FB2
triadic
#AF4FD1 #D1AF4F #4FD1AF
tetradic
#AF4FD1 #D16E4F #71D14F #4FB2D1
square
#AF4FD1 #D16E4F #71D14F #4FB2D1
split-complementary
#AF4FD1 #B2D14F #4FD16E
monochromatic
#6A2283 #912FB4 #AF4FD1 #C580DE #DBB0EA

Accessibility & contrast

On white

4.32
#AF4FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AF4FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FD1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FD1#FFFFFF#000000##000000
##AF4FD11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2374D5
Deuteranopia (green-blind)
#507CCE
Tritanopia (blue-blind)
#AD6689
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4fd1;
/* rgb */ color: rgb(175, 79, 209);
/* oklch */ color: oklch(60.3% 0.204 316.2);
Tailwind
colors: {
  custom: {
    50: '#ca86e0',
    500: '#af4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #af4fd1;
$custom-light: #ca86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fd1",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 284.308,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.20427,
    "h": 316.2
  },
  "luminance": 0.19309
}

Semantic roles & 50–950 ramp

primary
#AF4FD1
secondary
#B1D9A3
accent
#E2466F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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