#AF6DCF#AF6DCF

#AF6DCF is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.4% C 0.156 H 313.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF6DCF
RGBrgb(175, 109, 207)
HSLhsl(280, 51%, 62%)
HSVhsv(280, 47%, 81%)
CMYKcmyk(15.5%, 47.3%, 0%, 18.8%)
CIE-LABlab(56.64, 43.24, -40.48)
CIE-LCHlch(56.64, 59.23, 316.89°)
OKLaboklab(64.41% 0.1079 -0.1125)
OKLCHoklch(64.41% 0.156 313.8)
XYZxyz(34.4085, 24.5571, 61.9468)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DCF #8DCF6D
analogous
#7E6DCF #AF6DCF #CF6DBE
triadic
#AF6DCF #CFAF6D #6DCFAF
tetradic
#AF6DCF #CF7E6D #8DCF6D #6DBECF
square
#AF6DCF #CF7E6D #8DCF6D #6DBECF
split-complementary
#AF6DCF #BECF6D #6DCF7E
monochromatic
#723092 #963FC0 #AF6DCF #C89BDE #E1C9ED

Accessibility & contrast

On white

3.55
#AF6DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AF6DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DCF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DCF#FFFFFF#000000##000000
##AF6DCF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D2
Deuteranopia (green-blind)
#6B8ACC
Tritanopia (blue-blind)
#AC7C94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af6dcf;
/* rgb */ color: rgb(175, 109, 207);
/* oklch */ color: oklch(64.4% 0.156 313.8);
Tailwind
colors: {
  custom: {
    50: '#c998de',
    500: '#af6dcf',
    950: '#000000',
  },
}
SCSS
$custom: #af6dcf;
$custom-light: #c998de;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dcf",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 280.408,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64405,
    "c": 0.15592,
    "h": 313.8
  },
  "luminance": 0.24556
}

Semantic roles & 50–950 ramp

primary
#AF6DCF
secondary
#C6DEBA
accent
#BE2859
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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