#AF55CE#AF55CE

#AF55CE is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.193 H 316.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF55CE
RGBrgb(175, 85, 206)
HSLhsl(285, 55%, 57%)
HSVhsv(285, 59%, 81%)
CMYKcmyk(15%, 58.7%, 0%, 19.2%)
CIE-LABlab(51.91, 55.34, -47.39)
CIE-LCHlch(51.91, 72.86, 319.43°)
OKLaboklab(60.91% 0.14 -0.1325)
OKLCHoklch(60.91% 0.193 316.6)
XYZxyz(32.0666, 20.0683, 60.5650)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55CE #74CE55
analogous
#7355CE #AF55CE #CE55B1
triadic
#AF55CE #CEAF55 #55CEAF
tetradic
#AF55CE #CE7355 #74CE55 #55B1CE
square
#AF55CE #CE7355 #74CE55 #55B1CE
split-complementary
#AF55CE #B1CE55 #55CE73
monochromatic
#6B2683 #9233B2 #AF55CE #C585DC #DCB4E9

Accessibility & contrast

On white

4.19
#AF55CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AF55CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55CE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55CE#FFFFFF#000000##000000
##AF55CE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#AE698A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af55ce;
/* rgb */ color: rgb(175, 85, 206);
/* oklch */ color: oklch(60.9% 0.193 316.6);
Tailwind
colors: {
  custom: {
    50: '#ca89dd',
    500: '#af55ce',
    950: '#000000',
  },
}
SCSS
$custom: #af55ce;
$custom-light: #ca89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af55ce",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 284.628,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.19272,
    "h": 316.6
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#AF55CE
secondary
#B3D8A7
accent
#DF496F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF55CE

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

Preview Lab → · Contrast checker → · Palette generator →

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