#AF3CD0#AF3CD0

#AF3CD0 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.227 H 317.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF3CD0
RGBrgb(175, 60, 208)
HSLhsl(287, 61%, 53%)
HSVhsv(287, 71%, 82%)
CMYKcmyk(15.9%, 71.2%, 0%, 18.4%)
CIE-LABlab(48.14, 66.54, -54.57)
CIE-LCHlch(48.14, 86.05, 320.64°)
OKLaboklab(58.22% 0.1681 -0.1533)
OKLCHoklch(58.22% 0.227 317.6)
XYZxyz(30.6786, 16.9011, 61.3085)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CD0 #5DD03C
analogous
#653CD0 #AF3CD0 #D03CA7
triadic
#AF3CD0 #D0AF3C #3CD0AF
tetradic
#AF3CD0 #D0653C #5DD03C #3CA7D0
square
#AF3CD0 #D0653C #5DD03C #3CA7D0
split-complementary
#AF3CD0 #A7D03C #3CD065
monochromatic
#611C75 #8A28A7 #AF3CD0 #C36DDC #D79FE8

Accessibility & contrast

On white

4.79
#AF3CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF3CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CD0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CD0#FFFFFF#000000##FFFFFF
##AF3CD01.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#AE5A82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3cd0;
/* rgb */ color: rgb(175, 60, 208);
/* oklch */ color: oklch(58.2% 0.227 317.6);
Tailwind
colors: {
  custom: {
    50: '#cb7cdf',
    500: '#af3cd0',
    950: '#000000',
  },
}
SCSS
$custom: #af3cd0;
$custom-light: #cb7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cd0",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 208
  },
  "hsl": {
    "h": 286.622,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.22749,
    "h": 317.6
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#AF3CD0
secondary
#A2D494
accent
#E44467
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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