#AF63BF#AF63BF

#AF63BF is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.1% C 0.155 H 320.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF63BF
RGBrgb(175, 99, 191)
HSLhsl(290, 42%, 57%)
HSVhsv(290, 48%, 75%)
CMYKcmyk(8.4%, 48.2%, 0%, 25.1%)
CIE-LABlab(53.81, 45.25, -35.79)
CIE-LCHlch(53.81, 57.69, 321.66°)
OKLaboklab(62.06% 0.1198 -0.0989)
OKLCHoklch(62.06% 0.155 320.5)
XYZxyz(31.5439, 21.8005, 51.8264)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63BF #73BF63
analogous
#8163BF #AF63BF #BF63A1
triadic
#AF63BF #BFAF63 #63BFAF
tetradic
#AF63BF #BF8163 #73BF63 #63A1BF
square
#AF63BF #BF8163 #73BF63 #63A1BF
split-complementary
#AF63BF #A1BF63 #63BF81
monochromatic
#6B3177 #9243A2 #AF63BF #C58ED1 #DCBAE3

Accessibility & contrast

On white

3.92
#AF63BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AF63BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63BF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63BF#FFFFFF#000000##000000
##AF63BF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#6B83BC
Tritanopia (blue-blind)
#B06F88
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af63bf;
/* rgb */ color: rgb(175, 99, 191);
/* oklch */ color: oklch(62.1% 0.155 320.5);
Tailwind
colors: {
  custom: {
    50: '#c992d2',
    500: '#af63bf',
    950: '#000000',
  },
}
SCSS
$custom: #af63bf;
$custom-light: #c992d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af63bf",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 191
  },
  "hsl": {
    "h": 289.565,
    "s": 41.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62055,
    "c": 0.15533,
    "h": 320.5
  },
  "luminance": 0.21799
}

Semantic roles & 50–950 ramp

primary
#AF63BF
secondary
#B3D2AC
accent
#D2566C
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF63BF

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

Preview Lab → · Contrast checker → · Palette generator →

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