#AF4FD6#AF4FD6

#AF4FD6 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.6% C 0.209 H 314.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF4FD6
RGBrgb(175, 79, 214)
HSLhsl(283, 62%, 57%)
HSVhsv(283, 63%, 84%)
CMYKcmyk(18.2%, 63.1%, 0%, 16.1%)
CIE-LABlab(51.34, 59.78, -52.87)
CIE-LCHlch(51.34, 79.81, 318.51°)
OKLaboklab(60.63% 0.1473 -0.1484)
OKLCHoklch(60.63% 0.209 314.8)
XYZxyz(32.6108, 19.5620, 65.6633)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FD6 #76D64F
analogous
#6C4FD6 #AF4FD6 #D64FB9
triadic
#AF4FD6 #D6AF4F #4FD6AF
tetradic
#AF4FD6 #D66C4F #76D64F #4FB9D6
square
#AF4FD6 #D66C4F #76D64F #4FB9D6
split-complementary
#AF4FD6 #B9D64F #4FD66C
monochromatic
#6C208A #922CBC #AF4FD6 #C681E2 #DCB2ED

Accessibility & contrast

On white

4.28
#AF4FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AF4FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FD6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FD6#FFFFFF#000000##000000
##AF4FD61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1975DA
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#AC688C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4fd6;
/* rgb */ color: rgb(175, 79, 214);
/* oklch */ color: oklch(60.6% 0.209 314.8);
Tailwind
colors: {
  custom: {
    50: '#ca86e3',
    500: '#af4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #af4fd6;
$custom-light: #ca86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fd6",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 282.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60633,
    "c": 0.20913,
    "h": 314.8
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#AF4FD6
secondary
#B5DCA5
accent
#E54372
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #AF4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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