#AF5CD6#AF5CD6

#AF5CD6 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.3% C 0.190 H 313.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF5CD6
RGBrgb(175, 92, 214)
HSLhsl(281, 60%, 60%)
HSVhsv(281, 57%, 84%)
CMYKcmyk(18.2%, 57%, 0%, 16.1%)
CIE-LABlab(53.63, 53.57, -49.22)
CIE-LCHlch(53.63, 72.75, 317.42°)
OKLaboklab(62.3% 0.1314 -0.1379)
OKLCHoklch(62.3% 0.19 313.6)
XYZxyz(33.6419, 21.6242, 66.0070)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CD6 #83D65C
analogous
#725CD6 #AF5CD6 #D65CC0
triadic
#AF5CD6 #D6AF5C #5CD6AF
tetradic
#AF5CD6 #D6725C #83D65C #5CC0D6
square
#AF5CD6 #D6725C #83D65C #5CC0D6
split-complementary
#AF5CD6 #C0D65C #5CD672
monochromatic
#702593 #9531C4 #AF5CD6 #C78DE2 #DFBEEF

Accessibility & contrast

On white

3.94
#AF5CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AF5CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CD6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CD6#FFFFFF#000000##000000
##AF5CD61.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDA
Deuteranopia (green-blind)
#5782D3
Tritanopia (blue-blind)
#AB7190
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5cd6;
/* rgb */ color: rgb(175, 92, 214);
/* oklch */ color: oklch(62.3% 0.190 313.6);
Tailwind
colors: {
  custom: {
    50: '#ca8ee3',
    500: '#af5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #af5cd6;
$custom-light: #ca8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cd6",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 280.82,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.19046,
    "h": 313.6
  },
  "luminance": 0.21623
}

Semantic roles & 50–950 ramp

primary
#AF5CD6
secondary
#BEDEAF
accent
#E34577
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D15
muted
#827D84

Preview Lab

Preview with #AF5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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