#AF61CA#AF61CA

#AF61CA is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.3% C 0.170 H 316.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF61CA
RGBrgb(175, 97, 202)
HSLhsl(285, 50%, 59%)
HSVhsv(285, 52%, 79%)
CMYKcmyk(13.4%, 52%, 0%, 20.8%)
CIE-LABlab(53.95, 48.53, -41.87)
CIE-LCHlch(53.95, 64.10, 319.21°)
OKLaboklab(62.33% 0.124 -0.1165)
OKLCHoklch(62.33% 0.17 316.8)
XYZxyz(32.6130, 21.9287, 58.3804)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61CA #7CCA61
analogous
#7A61CA #AF61CA #CA61B0
triadic
#AF61CA #CAAF61 #61CAAF
tetradic
#AF61CA #CA7A61 #7CCA61 #61B0CA
square
#AF61CA #CA7A61 #7CCA61 #61B0CA
split-complementary
#AF61CA #B0CA61 #61CA7A
monochromatic
#6E2C84 #943CB2 #AF61CA #C68FD9 #DDBDE9

Accessibility & contrast

On white

3.90
#AF61CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AF61CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61CA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61CA#FFFFFF#000000##000000
##AF61CA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCE
Deuteranopia (green-blind)
#6383C7
Tritanopia (blue-blind)
#AE718C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af61ca;
/* rgb */ color: rgb(175, 97, 202);
/* oklch */ color: oklch(62.3% 0.170 316.8);
Tailwind
colors: {
  custom: {
    50: '#c991da',
    500: '#af61ca',
    950: '#000000',
  },
}
SCSS
$custom: #af61ca;
$custom-light: #c991da;
$custom-dark: #000000;
JSON
{
  "hex": "#af61ca",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 284.571,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62331,
    "c": 0.17011,
    "h": 316.8
  },
  "luminance": 0.21928
}

Semantic roles & 50–950 ramp

primary
#AF61CA
secondary
#B9D8AF
accent
#D94F72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF61CA

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

Preview Lab → · Contrast checker → · Palette generator →

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