#AF6CCF#AF6CCF

#AF6CCF is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.2% C 0.158 H 313.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF6CCF
RGBrgb(175, 108, 207)
HSLhsl(281, 51%, 62%)
HSVhsv(281, 48%, 81%)
CMYKcmyk(15.5%, 47.8%, 0%, 18.8%)
CIE-LABlab(56.43, 43.78, -40.81)
CIE-LCHlch(56.43, 59.85, 317.01°)
OKLaboklab(64.25% 0.1093 -0.1135)
OKLCHoklch(64.25% 0.158 313.9)
XYZxyz(34.3024, 24.3449, 61.9114)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6CCF #8CCF6C
analogous
#7E6CCF #AF6CCF #CF6CBE
triadic
#AF6CCF #CFAF6C #6CCFAF
tetradic
#AF6CCF #CF7E6C #8CCF6C #6CBECF
square
#AF6CCF #CF7E6C #8CCF6C #6CBECF
split-complementary
#AF6CCF #BECF6C #6CCF7E
monochromatic
#722F91 #963EBF #AF6CCF #C89ADE #E1C8ED

Accessibility & contrast

On white

3.58
#AF6CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#AF6CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6CCF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6CCF#FFFFFF#000000##000000
##AF6CCF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D2
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#AC7B94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6ccf;
/* rgb */ color: rgb(175, 108, 207);
/* oklch */ color: oklch(64.2% 0.158 313.9);
Tailwind
colors: {
  custom: {
    50: '#c998de',
    500: '#af6ccf',
    950: '#000000',
  },
}
SCSS
$custom: #af6ccf;
$custom-light: #c998de;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ccf",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 280.606,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64249,
    "c": 0.15757,
    "h": 313.9
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#AF6CCF
secondary
#C5DEB9
accent
#BE2758
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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