#AF60CB#AF60CB

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

Color values

HEX#AF60CB
RGBrgb(175, 96, 203)
HSLhsl(284, 51%, 59%)
HSVhsv(284, 53%, 80%)
CMYKcmyk(13.8%, 52.7%, 0%, 20.4%)
CIE-LABlab(53.81, 49.25, -42.67)
CIE-LCHlch(53.81, 65.17, 319.09°)
OKLaboklab(62.24% 0.1254 -0.1188)
OKLCHoklch(62.24% 0.173 316.5)
XYZxyz(32.6400, 21.7926, 58.9754)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60CB #7CCB60
analogous
#7960CB #AF60CB #CB60B1
triadic
#AF60CB #CBAF60 #60CBAF
tetradic
#AF60CB #CB7960 #7CCB60 #60B1CB
square
#AF60CB #CB7960 #7CCB60 #60B1CB
split-complementary
#AF60CB #B1CB60 #60CB79
monochromatic
#6E2C85 #943BB3 #AF60CB #C68EDA #DDBCE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF60CB#FFFFFF#000000##000000
##AF60CB1.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)
#497CCF
Deuteranopia (green-blind)
#6283C8
Tritanopia (blue-blind)
#AE708D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af60cb;
/* rgb */ color: rgb(175, 96, 203);
/* oklch */ color: oklch(62.2% 0.173 316.5);
Tailwind
colors: {
  custom: {
    50: '#c990db',
    500: '#af60cb',
    950: '#000000',
  },
}
SCSS
$custom: #af60cb;
$custom-light: #c990db;
$custom-dark: #000000;
JSON
{
  "hex": "#af60cb",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 284.299,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6224,
    "c": 0.17275,
    "h": 316.5
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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