#AF63D3#AF63D3

#AF63D3 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.1% C 0.177 H 313.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF63D3
RGBrgb(175, 99, 211)
HSLhsl(281, 56%, 61%)
HSVhsv(281, 53%, 83%)
CMYKcmyk(17.1%, 53.1%, 0%, 17.3%)
CIE-LABlab(54.81, 49.38, -45.65)
CIE-LCHlch(54.81, 67.25, 317.25°)
OKLaboklab(63.11% 0.1221 -0.1275)
OKLCHoklch(63.11% 0.177 313.8)
XYZxyz(33.8970, 22.7417, 64.2194)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63D3 #87D363
analogous
#7763D3 #AF63D3 #D363BF
triadic
#AF63D3 #D3AF63 #63D3AF
tetradic
#AF63D3 #D37763 #87D363 #63BFD3
square
#AF63D3 #D37763 #87D363 #63BFD3
split-complementary
#AF63D3 #BFD363 #63D377
monochromatic
#712992 #9537C2 #AF63D3 #C793E0 #E0C2EE

Accessibility & contrast

On white

3.79
#AF63D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AF63D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63D3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63D3#FFFFFF#000000##000000
##AF63D31.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD7
Deuteranopia (green-blind)
#6085D0
Tritanopia (blue-blind)
#AC7592
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af63d3;
/* rgb */ color: rgb(175, 99, 211);
/* oklch */ color: oklch(63.1% 0.177 313.8);
Tailwind
colors: {
  custom: {
    50: '#c992e1',
    500: '#af63d3',
    950: '#000000',
  },
}
SCSS
$custom: #af63d3;
$custom-light: #c992e1;
$custom-dark: #000000;
JSON
{
  "hex": "#af63d3",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 211
  },
  "hsl": {
    "h": 280.714,
    "s": 56,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6311,
    "c": 0.17651,
    "h": 313.8
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

primary
#AF63D3
secondary
#C1DEB4
accent
#C42256
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF63D3

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

Preview Lab → · Contrast checker → · Palette generator →

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