#AF61CD#AF61CD

#AF61CD is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.5% C 0.173 H 315.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF61CD
RGBrgb(175, 97, 205)
HSLhsl(283, 52%, 59%)
HSVhsv(283, 53%, 80%)
CMYKcmyk(14.6%, 52.7%, 0%, 19.6%)
CIE-LABlab(54.10, 49.15, -43.35)
CIE-LCHlch(54.10, 65.53, 318.59°)
OKLaboklab(62.49% 0.1243 -0.1208)
OKLCHoklch(62.49% 0.173 315.8)
XYZxyz(32.9717, 22.0722, 60.2693)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61CD #7FCD61
analogous
#7961CD #AF61CD #CD61B5
triadic
#AF61CD #CDAF61 #61CDAF
tetradic
#AF61CD #CD7961 #7FCD61 #61B5CD
square
#AF61CD #CD7961 #7FCD61 #61B5CD
split-complementary
#AF61CD #B5CD61 #61CD79
monochromatic
#6F2B88 #943AB7 #AF61CD #C78FDC #DEBEEA

Accessibility & contrast

On white

3.88
#AF61CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AF61CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61CD#FFFFFF#000000##000000
##AF61CD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#6284CA
Tritanopia (blue-blind)
#AD728E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af61cd;
/* rgb */ color: rgb(175, 97, 205);
/* oklch */ color: oklch(62.5% 0.173 315.8);
Tailwind
colors: {
  custom: {
    50: '#c991dd',
    500: '#af61cd',
    950: '#000000',
  },
}
SCSS
$custom: #af61cd;
$custom-light: #c991dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af61cd",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 283.333,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62493,
    "c": 0.17327,
    "h": 315.8
  },
  "luminance": 0.22071
}

Semantic roles & 50–950 ramp

primary
#AF61CD
secondary
#BCDAB0
accent
#DB4C74
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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