#AF4ED6#AF4ED6

#AF4ED6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.210 H 314.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF4ED6
RGBrgb(175, 78, 214)
HSLhsl(283, 62%, 57%)
HSVhsv(283, 64%, 84%)
CMYKcmyk(18.2%, 63.6%, 0%, 16.1%)
CIE-LABlab(51.17, 60.24, -53.14)
CIE-LCHlch(51.17, 80.32, 318.58°)
OKLaboklab(60.51% 0.1485 -0.1492)
OKLCHoklch(60.51% 0.21 314.9)
XYZxyz(32.5392, 19.4189, 65.6394)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ED6 #75D64E
analogous
#6B4ED6 #AF4ED6 #D64EB9
triadic
#AF4ED6 #D6AF4E #4ED6AF
tetradic
#AF4ED6 #D66B4E #75D64E #4EB9D6
square
#AF4ED6 #D66B4E #75D64E #4EB9D6
split-complementary
#AF4ED6 #B9D64E #4ED66B
monochromatic
#6B208A #922BBB #AF4ED6 #C580E2 #DCB1ED

Accessibility & contrast

On white

4.30
#AF4ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF4ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ED6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ED6#FFFFFF#000000##000000
##AF4ED61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1574DA
Deuteranopia (green-blind)
#4B7CD3
Tritanopia (blue-blind)
#AC678B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4ed6;
/* rgb */ color: rgb(175, 78, 214);
/* oklch */ color: oklch(60.5% 0.210 314.9);
Tailwind
colors: {
  custom: {
    50: '#ca86e3',
    500: '#af4ed6',
    950: '#000000',
  },
}
SCSS
$custom: #af4ed6;
$custom-light: #ca86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ed6",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 282.794,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60514,
    "c": 0.21049,
    "h": 314.9
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#AF4ED6
secondary
#B4DBA4
accent
#E54271
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #AF4ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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