#AF4CD6#AF4CD6

#AF4CD6 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.213 H 315.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF4CD6
RGBrgb(175, 76, 214)
HSLhsl(283, 63%, 57%)
HSVhsv(283, 64%, 84%)
CMYKcmyk(18.2%, 64.5%, 0%, 16.1%)
CIE-LABlab(50.85, 61.13, -53.65)
CIE-LCHlch(50.85, 81.34, 318.73°)
OKLaboklab(60.28% 0.1508 -0.1507)
OKLCHoklch(60.28% 0.213 315)
XYZxyz(32.3993, 19.1390, 65.5928)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CD6 #73D64C
analogous
#6A4CD6 #AF4CD6 #D64CB8
triadic
#AF4CD6 #D6AF4C #4CD6AF
tetradic
#AF4CD6 #D66A4C #73D64C #4CB8D6
square
#AF4CD6 #D66A4C #73D64C #4CB8D6
split-complementary
#AF4CD6 #B8D64C #4CD66A
monochromatic
#6B1F88 #922BBA #AF4CD6 #C57EE1 #DCB0ED

Accessibility & contrast

On white

4.35
#AF4CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF4CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CD6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CD6#FFFFFF#000000##000000
##AF4CD61.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C73DA
Deuteranopia (green-blind)
#497CD3
Tritanopia (blue-blind)
#AC668B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4cd6;
/* rgb */ color: rgb(175, 76, 214);
/* oklch */ color: oklch(60.3% 0.213 315.0);
Tailwind
colors: {
  custom: {
    50: '#ca84e3',
    500: '#af4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #af4cd6;
$custom-light: #ca84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cd6",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 283.043,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.21318,
    "h": 315
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#AF4CD6
secondary
#B3DBA3
accent
#E64270
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AF4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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