#AF63AA#AF63AA

#AF63AA is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.1% C 0.134 H 329.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF63AA
RGBrgb(175, 99, 170)
HSLhsl(304, 32%, 54%)
HSVhsv(304, 43%, 69%)
CMYKcmyk(0%, 43.4%, 2.9%, 31.4%)
CIE-LABlab(52.89, 41.21, -25.09)
CIE-LCHlch(52.89, 48.25, 328.67°)
OKLaboklab(61.06% 0.1159 -0.0683)
OKLCHoklch(61.06% 0.134 329.5)
XYZxyz(29.3963, 20.9414, 40.5161)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63AA #63AF68
analogous
#8E63AF #AF63AA #AF6384
triadic
#AF63AA #AAAF63 #63AAAF
tetradic
#AF63AA #AF8E63 #63AF68 #6384AF
square
#AF63AA #AF8E63 #63AF68 #6384AF
split-complementary
#AF63AA #84AF63 #63AF8E
monochromatic
#643361 #8D4888 #AF63AA #C48BC0 #D8B4D6

Accessibility & contrast

On white

4.05
#AF63AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AF63AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63AA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63AA#FFFFFF#000000##000000
##AF63AA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AD
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#B4697F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af63aa;
/* rgb */ color: rgb(175, 99, 170);
/* oklch */ color: oklch(61.1% 0.134 329.5);
Tailwind
colors: {
  custom: {
    50: '#c891c3',
    500: '#af63aa',
    950: '#000000',
  },
}
SCSS
$custom: #af63aa;
$custom-light: #c891c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af63aa",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 170
  },
  "hsl": {
    "h": 303.947,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.13448,
    "h": 329.5
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#AF63AA
secondary
#A7C7A9
accent
#C8665F
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #AF63AA

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

Preview Lab → · Contrast checker → · Palette generator →

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