#AF6DCD#AF6DCD

#AF6DCD is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.3% C 0.154 H 314.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF6DCD
RGBrgb(175, 109, 205)
HSLhsl(281, 49%, 62%)
HSVhsv(281, 47%, 80%)
CMYKcmyk(14.6%, 46.8%, 0%, 19.6%)
CIE-LABlab(56.55, 42.82, -39.50)
CIE-LCHlch(56.55, 58.25, 317.31°)
OKLaboklab(64.3% 0.1077 -0.1097)
OKLCHoklch(64.3% 0.154 314.5)
XYZxyz(34.1655, 24.4599, 60.6672)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DCD #8BCD6D
analogous
#7F6DCD #AF6DCD #CD6DBB
triadic
#AF6DCD #CDAF6D #6DCDAF
tetradic
#AF6DCD #CD7F6D #8BCD6D #6DBBCD
square
#AF6DCD #CD7F6D #8BCD6D #6DBBCD
split-complementary
#AF6DCD #BBCD6D #6DCD7F
monochromatic
#71318F #9640BC #AF6DCD #C89BDD #E1C8EC

Accessibility & contrast

On white

3.56
#AF6DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AF6DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DCD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DCD#FFFFFF#000000##000000
##AF6DCD1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#AD7B93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af6dcd;
/* rgb */ color: rgb(175, 109, 205);
/* oklch */ color: oklch(64.3% 0.154 314.5);
Tailwind
colors: {
  custom: {
    50: '#c998dc',
    500: '#af6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #af6dcd;
$custom-light: #c998dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dcd",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 281.25,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.15368,
    "h": 314.5
  },
  "luminance": 0.24459
}

Semantic roles & 50–950 ramp

primary
#AF6DCD
secondary
#C4DDB9
accent
#BC2957
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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