#AF60CA#AF60CA

#AF60CA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.2% C 0.172 H 316.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF60CA
RGBrgb(175, 96, 202)
HSLhsl(285, 50%, 58%)
HSVhsv(285, 52%, 79%)
CMYKcmyk(13.4%, 52.5%, 0%, 20.8%)
CIE-LABlab(53.76, 49.04, -42.18)
CIE-LCHlch(53.76, 64.69, 319.30°)
OKLaboklab(62.19% 0.1253 -0.1174)
OKLCHoklch(62.19% 0.172 316.9)
XYZxyz(32.5212, 21.7451, 58.3498)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60CA #7BCA60
analogous
#7A60CA #AF60CA #CA60B0
triadic
#AF60CA #CAAF60 #60CAAF
tetradic
#AF60CA #CA7A60 #7BCA60 #60B0CA
square
#AF60CA #CA7A60 #7BCA60 #60B0CA
split-complementary
#AF60CA #B0CA60 #60CA7A
monochromatic
#6D2C84 #933BB2 #AF60CA #C68ED9 #DDBCE9

Accessibility & contrast

On white

3.93
#AF60CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AF60CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60CA#FFFFFF#000000##000000
##AF60CA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCE
Deuteranopia (green-blind)
#6383C7
Tritanopia (blue-blind)
#AE708C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af60ca;
/* rgb */ color: rgb(175, 96, 202);
/* oklch */ color: oklch(62.2% 0.172 316.9);
Tailwind
colors: {
  custom: {
    50: '#c990da',
    500: '#af60ca',
    950: '#000000',
  },
}
SCSS
$custom: #af60ca;
$custom-light: #c990da;
$custom-dark: #000000;
JSON
{
  "hex": "#af60ca",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 284.717,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62186,
    "c": 0.17171,
    "h": 316.9
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#AF60CA
secondary
#B9D8AE
accent
#DA4E72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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