#AF63CA#AF63CA

#AF63CA is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.6% C 0.167 H 316.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF63CA
RGBrgb(175, 99, 202)
HSLhsl(284, 49%, 59%)
HSVhsv(284, 51%, 79%)
CMYKcmyk(13.4%, 51%, 0%, 20.8%)
CIE-LABlab(54.35, 47.49, -41.25)
CIE-LCHlch(54.35, 62.90, 319.02°)
OKLaboklab(62.62% 0.1212 -0.1147)
OKLCHoklch(62.62% 0.167 316.6)
XYZxyz(32.8001, 22.3030, 58.4428)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63CA #7ECA63
analogous
#7C63CA #AF63CA #CA63B2
triadic
#AF63CA #CAAF63 #63CAAF
tetradic
#AF63CA #CA7C63 #7ECA63 #63B2CA
square
#AF63CA #CA7C63 #7ECA63 #63B2CA
split-complementary
#AF63CA #B2CA63 #63CA7C
monochromatic
#6E2D85 #943DB3 #AF63CA #C691DA #DEBEE9

Accessibility & contrast

On white

3.85
#AF63CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AF63CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63CA#FFFFFF#000000##000000
##AF63CA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#6584C7
Tritanopia (blue-blind)
#AE728D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af63ca;
/* rgb */ color: rgb(175, 99, 202);
/* oklch */ color: oklch(62.6% 0.167 316.6);
Tailwind
colors: {
  custom: {
    50: '#c992da',
    500: '#af63ca',
    950: '#000000',
  },
}
SCSS
$custom: #af63ca;
$custom-light: #c992da;
$custom-dark: #000000;
JSON
{
  "hex": "#af63ca",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 202
  },
  "hsl": {
    "h": 284.272,
    "s": 49.282,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62623,
    "c": 0.16688,
    "h": 316.6
  },
  "luminance": 0.22302
}

Semantic roles & 50–950 ramp

primary
#AF63CA
secondary
#BBD9B0
accent
#D94F73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF63CA

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

Preview Lab → · Contrast checker → · Palette generator →

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