#AF63CB#AF63CB

#AF63CB is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.7% C 0.168 H 316.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF63CB
RGBrgb(175, 99, 203)
HSLhsl(284, 50%, 59%)
HSVhsv(284, 51%, 80%)
CMYKcmyk(13.8%, 51.2%, 0%, 20.4%)
CIE-LABlab(54.40, 47.70, -41.74)
CIE-LCHlch(54.40, 63.38, 318.81°)
OKLaboklab(62.68% 0.1213 -0.1161)
OKLCHoklch(62.68% 0.168 316.3)
XYZxyz(32.9189, 22.3505, 59.0683)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63CB #7FCB63
analogous
#7B63CB #AF63CB #CB63B3
triadic
#AF63CB #CBAF63 #63CBAF
tetradic
#AF63CB #CB7B63 #7FCB63 #63B3CB
square
#AF63CB #CB7B63 #7FCB63 #63B3CB
split-complementary
#AF63CB #B3CB63 #63CB7B
monochromatic
#6F2D87 #943CB5 #AF63CB #C791DA #DEBFEA

Accessibility & contrast

On white

3.84
#AF63CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AF63CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63CB#FFFFFF#000000##000000
##AF63CB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCF
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#AE738E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af63cb;
/* rgb */ color: rgb(175, 99, 203);
/* oklch */ color: oklch(62.7% 0.168 316.3);
Tailwind
colors: {
  custom: {
    50: '#c992db',
    500: '#af63cb',
    950: '#000000',
  },
}
SCSS
$custom: #af63cb;
$custom-light: #c992db;
$custom-dark: #000000;
JSON
{
  "hex": "#af63cb",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 203
  },
  "hsl": {
    "h": 283.846,
    "s": 50,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62676,
    "c": 0.16794,
    "h": 316.3
  },
  "luminance": 0.22349
}

Semantic roles & 50–950 ramp

primary
#AF63CB
secondary
#BCD9B1
accent
#DA4E74
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF63CB

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

Preview Lab → · Contrast checker → · Palette generator →

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