#AF55CB#AF55CB

#AF55CB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.190 H 317.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF55CB
RGBrgb(175, 85, 203)
HSLhsl(286, 53%, 56%)
HSVhsv(286, 58%, 80%)
CMYKcmyk(13.8%, 58.1%, 0%, 20.4%)
CIE-LABlab(51.75, 54.73, -45.93)
CIE-LCHlch(51.75, 71.45, 320.00°)
OKLaboklab(60.73% 0.1399 -0.1282)
OKLCHoklch(60.73% 0.19 317.5)
XYZxyz(31.7057, 19.9240, 58.6639)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55CB #71CB55
analogous
#7455CB #AF55CB #CB55AC
triadic
#AF55CB #CBAF55 #55CBAF
tetradic
#AF55CB #CB7455 #71CB55 #55ACCB
square
#AF55CB #CB7455 #71CB55 #55ACCB
split-complementary
#AF55CB #ACCB55 #55CB74
monochromatic
#6A277F #9135AE #AF55CB #C584D9 #DBB3E8

Accessibility & contrast

On white

4.21
#AF55CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AF55CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55CB#FFFFFF#000000##000000
##AF55CB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776CF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#AE6888
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af55cb;
/* rgb */ color: rgb(175, 85, 203);
/* oklch */ color: oklch(60.7% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#ca89db',
    500: '#af55cb',
    950: '#000000',
  },
}
SCSS
$custom: #af55cb;
$custom-light: #ca89db;
$custom-dark: #000000;
JSON
{
  "hex": "#af55cb",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 285.763,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60733,
    "c": 0.18973,
    "h": 317.5
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

primary
#AF55CB
secondary
#B1D6A6
accent
#DD4B6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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