#AF4CD4#AF4CD4

#AF4CD4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.211 H 315.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF4CD4
RGBrgb(175, 76, 212)
HSLhsl(284, 61%, 56%)
HSVhsv(284, 64%, 83%)
CMYKcmyk(17.5%, 64.2%, 0%, 16.9%)
CIE-LABlab(50.73, 60.73, -52.70)
CIE-LCHlch(50.73, 80.41, 319.05°)
OKLaboklab(60.16% 0.1508 -0.1479)
OKLCHoklch(60.16% 0.211 315.6)
XYZxyz(32.1454, 19.0374, 64.2559)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CD4 #71D44C
analogous
#6B4CD4 #AF4CD4 #D44CB5
triadic
#AF4CD4 #D4AF4C #4CD4AF
tetradic
#AF4CD4 #D46B4C #71D44C #4CB5D4
square
#AF4CD4 #D46B4C #71D44C #4CB5D4
split-complementary
#AF4CD4 #B5D44C #4CD46B
monochromatic
#6A2086 #912CB7 #AF4CD4 #C57DE0 #DBAFEC

Accessibility & contrast

On white

4.37
#AF4CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AF4CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CD4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CD4#FFFFFF#000000##000000
##AF4CD41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1373D8
Deuteranopia (green-blind)
#4B7CD1
Tritanopia (blue-blind)
#AC6589
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4cd4;
/* rgb */ color: rgb(175, 76, 212);
/* oklch */ color: oklch(60.2% 0.211 315.6);
Tailwind
colors: {
  custom: {
    50: '#ca84e2',
    500: '#af4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #af4cd4;
$custom-light: #ca84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cd4",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 283.676,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.21126,
    "h": 315.6
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#AF4CD4
secondary
#B1DAA2
accent
#E4436F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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