#AF5CD5#AF5CD5

#AF5CD5 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.2% C 0.189 H 313.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF5CD5
RGBrgb(175, 92, 213)
HSLhsl(281, 59%, 60%)
HSVhsv(281, 57%, 84%)
CMYKcmyk(17.8%, 56.8%, 0%, 16.5%)
CIE-LABlab(53.57, 53.36, -48.74)
CIE-LCHlch(53.57, 72.27, 317.59°)
OKLaboklab(62.24% 0.1314 -0.1364)
OKLCHoklch(62.24% 0.189 313.9)
XYZxyz(33.5146, 21.5733, 65.3365)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CD5 #82D55C
analogous
#735CD5 #AF5CD5 #D55CBE
triadic
#AF5CD5 #D5AF5C #5CD5AF
tetradic
#AF5CD5 #D5735C #82D55C #5CBED5
square
#AF5CD5 #D5735C #82D55C #5CBED5
split-complementary
#AF5CD5 #BED55C #5CD573
monochromatic
#6F2591 #9532C2 #AF5CD5 #C78DE2 #DFBDEE

Accessibility & contrast

On white

3.95
#AF5CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AF5CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CD5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CD5#FFFFFF#000000##000000
##AF5CD51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD9
Deuteranopia (green-blind)
#5882D2
Tritanopia (blue-blind)
#AC7190
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5cd5;
/* rgb */ color: rgb(175, 92, 213);
/* oklch */ color: oklch(62.2% 0.189 313.9);
Tailwind
colors: {
  custom: {
    50: '#ca8ee2',
    500: '#af5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #af5cd5;
$custom-light: #ca8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cd5",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 281.157,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62239,
    "c": 0.18941,
    "h": 313.9
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#AF5CD5
secondary
#BEDEAF
accent
#E24677
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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