#AF63CE#AF63CE

#AF63CE is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.8% C 0.171 H 315.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF63CE
RGBrgb(175, 99, 206)
HSLhsl(283, 52%, 60%)
HSVhsv(283, 52%, 81%)
CMYKcmyk(15%, 51.9%, 0%, 19.2%)
CIE-LABlab(54.55, 48.33, -43.21)
CIE-LCHlch(54.55, 64.83, 318.20°)
OKLaboklab(62.84% 0.1216 -0.1204)
OKLCHoklch(62.84% 0.171 315.3)
XYZxyz(33.2799, 22.4949, 60.9694)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63CE #82CE63
analogous
#7A63CE #AF63CE #CE63B7
triadic
#AF63CE #CEAF63 #63CEAF
tetradic
#AF63CE #CE7A63 #82CE63 #63B7CE
square
#AF63CE #CE7A63 #82CE63 #63B7CE
split-complementary
#AF63CE #B7CE63 #63CE7A
monochromatic
#6F2C8B #953ABA #AF63CE #C792DD #DFC0EB

Accessibility & contrast

On white

3.82
#AF63CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AF63CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63CE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63CE#FFFFFF#000000##000000
##AF63CE1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#AD748F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af63ce;
/* rgb */ color: rgb(175, 99, 206);
/* oklch */ color: oklch(62.8% 0.171 315.3);
Tailwind
colors: {
  custom: {
    50: '#c992dd',
    500: '#af63ce',
    950: '#000000',
  },
}
SCSS
$custom: #af63ce;
$custom-light: #c992dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af63ce",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 206
  },
  "hsl": {
    "h": 282.617,
    "s": 52.195,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62837,
    "c": 0.17114,
    "h": 315.3
  },
  "luminance": 0.22494
}

Semantic roles & 50–950 ramp

primary
#AF63CE
secondary
#BEDBB2
accent
#DC4C76
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF63CE

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

Preview Lab → · Contrast checker → · Palette generator →

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