#AF6CCB#AF6CCB

#AF6CCB is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.0% C 0.153 H 315.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF6CCB
RGBrgb(175, 108, 203)
HSLhsl(282, 48%, 61%)
HSVhsv(282, 47%, 80%)
CMYKcmyk(13.8%, 46.8%, 0%, 20.4%)
CIE-LABlab(56.24, 42.93, -38.84)
CIE-LCHlch(56.24, 57.89, 317.86°)
OKLaboklab(64.04% 0.1088 -0.1078)
OKLCHoklch(64.04% 0.153 315.3)
XYZxyz(33.8196, 24.1518, 59.3686)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6CCB #88CB6C
analogous
#7F6CCB #AF6CCB #CB6CB7
triadic
#AF6CCB #CBAF6C #6CCBAF
tetradic
#AF6CCB #CB7F6C #88CB6C #6CB7CB
square
#AF6CCB #CB7F6C #88CB6C #6CB7CB
split-complementary
#AF6CCB #B7CB6C #6CCB7F
monochromatic
#71318B #9541B9 #AF6CCB #C899DB #E0C6EB

Accessibility & contrast

On white

3.60
#AF6CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AF6CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6CCB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6CCB#FFFFFF#000000##000000
##AF6CCB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#6C89C8
Tritanopia (blue-blind)
#AD7A92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6ccb;
/* rgb */ color: rgb(175, 108, 203);
/* oklch */ color: oklch(64.0% 0.153 315.3);
Tailwind
colors: {
  custom: {
    50: '#c998db',
    500: '#af6ccb',
    950: '#000000',
  },
}
SCSS
$custom: #af6ccb;
$custom-light: #c998db;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ccb",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 282.316,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64043,
    "c": 0.15312,
    "h": 315.3
  },
  "luminance": 0.24151
}

Semantic roles & 50–950 ramp

primary
#AF6CCB
secondary
#C2DBB7
accent
#BB2A55
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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