#AF4CD3#AF4CD3

#AF4CD3 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.210 H 315.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF4CD3
RGBrgb(175, 76, 211)
HSLhsl(284, 61%, 56%)
HSVhsv(284, 64%, 83%)
CMYKcmyk(17.1%, 64%, 0%, 17.3%)
CIE-LABlab(50.67, 60.53, -52.23)
CIE-LCHlch(50.67, 79.94, 319.21°)
OKLaboklab(60.1% 0.1508 -0.1466)
OKLCHoklch(60.1% 0.21 315.8)
XYZxyz(32.0197, 18.9871, 63.5936)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CD3 #70D34C
analogous
#6C4CD3 #AF4CD3 #D34CB4
triadic
#AF4CD3 #D3AF4C #4CD3AF
tetradic
#AF4CD3 #D36C4C #70D34C #4CB4D3
square
#AF4CD3 #D36C4C #70D34C #4CB4D3
split-complementary
#AF4CD3 #B4D34C #4CD36C
monochromatic
#6A2084 #912DB5 #AF4CD3 #C57DDF #DBAEEB

Accessibility & contrast

On white

4.38
#AF4CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AF4CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CD3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CD3#FFFFFF#000000##000000
##AF4CD31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1673D7
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#AD6589
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4cd3;
/* rgb */ color: rgb(175, 76, 211);
/* oklch */ color: oklch(60.1% 0.210 315.8);
Tailwind
colors: {
  custom: {
    50: '#ca84e1',
    500: '#af4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #af4cd3;
$custom-light: #ca84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4cd3",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 284,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.21031,
    "h": 315.8
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#AF4CD3
secondary
#B0D9A2
accent
#E4446F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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