#AF55CD#AF55CD

#AF55CD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.192 H 316.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF55CD
RGBrgb(175, 85, 205)
HSLhsl(285, 55%, 57%)
HSVhsv(285, 59%, 80%)
CMYKcmyk(14.6%, 58.5%, 0%, 19.6%)
CIE-LABlab(51.86, 55.14, -46.90)
CIE-LCHlch(51.86, 72.39, 319.61°)
OKLaboklab(60.85% 0.1399 -0.131)
OKLCHoklch(60.85% 0.192 316.9)
XYZxyz(31.9455, 20.0199, 59.9272)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55CD #73CD55
analogous
#7355CD #AF55CD #CD55AF
triadic
#AF55CD #CDAF55 #55CDAF
tetradic
#AF55CD #CD7355 #73CD55 #55AFCD
square
#AF55CD #CD7355 #73CD55 #55AFCD
split-complementary
#AF55CD #AFCD55 #55CD73
monochromatic
#6B2682 #9234B1 #AF55CD #C584DB #DCB4E9

Accessibility & contrast

On white

4.20
#AF55CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AF55CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55CD#FFFFFF#000000##000000
##AF55CD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#587ECA
Tritanopia (blue-blind)
#AE6989
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af55cd;
/* rgb */ color: rgb(175, 85, 205);
/* oklch */ color: oklch(60.8% 0.192 316.9);
Tailwind
colors: {
  custom: {
    50: '#ca89dd',
    500: '#af55cd',
    950: '#000000',
  },
}
SCSS
$custom: #af55cd;
$custom-light: #ca89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af55cd",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 285,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.19172,
    "h": 316.9
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#AF55CD
secondary
#B3D7A6
accent
#DE4A6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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