#AF4FD4#AF4FD4

#AF4FD4 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.5% C 0.207 H 315.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF4FD4
RGBrgb(175, 79, 212)
HSLhsl(283, 61%, 57%)
HSVhsv(283, 63%, 83%)
CMYKcmyk(17.5%, 62.7%, 0%, 16.9%)
CIE-LABlab(51.22, 59.38, -51.92)
CIE-LCHlch(51.22, 78.87, 318.83°)
OKLaboklab(60.51% 0.1473 -0.1457)
OKLCHoklch(60.51% 0.207 315.3)
XYZxyz(32.3570, 19.4605, 64.3264)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FD4 #74D44F
analogous
#6C4FD4 #AF4FD4 #D44FB7
triadic
#AF4FD4 #D4AF4F #4FD4AF
tetradic
#AF4FD4 #D46C4F #74D44F #4FB7D4
square
#AF4FD4 #D46C4F #74D44F #4FB7D4
split-complementary
#AF4FD4 #B7D44F #4FD46C
monochromatic
#6B2187 #922DB9 #AF4FD4 #C580E0 #DCB1EC

Accessibility & contrast

On white

4.29
#AF4FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AF4FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FD4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FD4#FFFFFF#000000##000000
##AF4FD41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E74D8
Deuteranopia (green-blind)
#4D7DD1
Tritanopia (blue-blind)
#AC678B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4fd4;
/* rgb */ color: rgb(175, 79, 212);
/* oklch */ color: oklch(60.5% 0.207 315.3);
Tailwind
colors: {
  custom: {
    50: '#ca86e2',
    500: '#af4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #af4fd4;
$custom-light: #ca86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fd4",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 283.308,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.20718,
    "h": 315.3
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#AF4FD4
secondary
#B3DAA4
accent
#E44470
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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