#AF63C8#AF63C8

#AF63C8 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.5% C 0.165 H 317.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF63C8
RGBrgb(175, 99, 200)
HSLhsl(285, 48%, 59%)
HSVhsv(285, 51%, 78%)
CMYKcmyk(12.5%, 50.5%, 0%, 21.6%)
CIE-LABlab(54.25, 47.08, -40.26)
CIE-LCHlch(54.25, 61.95, 319.46°)
OKLaboklab(62.52% 0.121 -0.1118)
OKLCHoklch(62.52% 0.165 317.3)
XYZxyz(32.5649, 22.2089, 57.2037)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63C8 #7CC863
analogous
#7C63C8 #AF63C8 #C863AE
triadic
#AF63C8 #C8AF63 #63C8AF
tetradic
#AF63C8 #C87C63 #7CC863 #63AEC8
square
#AF63C8 #C87C63 #7CC863 #63AEC8
split-complementary
#AF63C8 #AEC863 #63C87C
monochromatic
#6E2E83 #943EB0 #AF63C8 #C690D8 #DDBDE8

Accessibility & contrast

On white

3.86
#AF63C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AF63C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63C8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63C8#FFFFFF#000000##000000
##AF63C81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCB
Deuteranopia (green-blind)
#6684C5
Tritanopia (blue-blind)
#AE728C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af63c8;
/* rgb */ color: rgb(175, 99, 200);
/* oklch */ color: oklch(62.5% 0.165 317.3);
Tailwind
colors: {
  custom: {
    50: '#c992d9',
    500: '#af63c8',
    950: '#000000',
  },
}
SCSS
$custom: #af63c8;
$custom-light: #c992d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af63c8",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 200
  },
  "hsl": {
    "h": 285.149,
    "s": 47.867,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.16475,
    "h": 317.3
  },
  "luminance": 0.22208
}

Semantic roles & 50–950 ramp

primary
#AF63C8
secondary
#B9D7AF
accent
#D75072
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AF63C8

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

Preview Lab → · Contrast checker → · Palette generator →

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