#AF68CF#AF68CF

#AF68CF is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.6% C 0.164 H 314.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF68CF
RGBrgb(175, 104, 207)
HSLhsl(281, 52%, 61%)
HSVhsv(281, 50%, 81%)
CMYKcmyk(15.5%, 49.8%, 0%, 18.8%)
CIE-LABlab(55.60, 45.91, -42.11)
CIE-LCHlch(55.60, 62.30, 317.47°)
OKLaboklab(63.64% 0.1149 -0.1172)
OKLCHoklch(63.64% 0.164 314.4)
XYZxyz(33.8902, 23.5205, 61.7740)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68CF #88CF68
analogous
#7B68CF #AF68CF #CF68BB
triadic
#AF68CF #CFAF68 #68CFAF
tetradic
#AF68CF #CF7B68 #88CF68 #68BBCF
square
#AF68CF #CF7B68 #88CF68 #68BBCF
split-complementary
#AF68CF #BBCF68 #68CF7B
monochromatic
#712D8F #953CBE #AF68CF #C896DE #E0C5ED

Accessibility & contrast

On white

3.68
#AF68CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AF68CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68CF#FFFFFF#000000##000000
##AF68CF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D3
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#AD7892
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af68cf;
/* rgb */ color: rgb(175, 104, 207);
/* oklch */ color: oklch(63.6% 0.164 314.4);
Tailwind
colors: {
  custom: {
    50: '#c995de',
    500: '#af68cf',
    950: '#000000',
  },
}
SCSS
$custom: #af68cf;
$custom-light: #c995de;
$custom-dark: #000000;
JSON
{
  "hex": "#af68cf",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 281.359,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.16415,
    "h": 314.4
  },
  "luminance": 0.2352
}

Semantic roles & 50–950 ramp

primary
#AF68CF
secondary
#C2DDB6
accent
#BF2656
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF68CF

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

Preview Lab → · Contrast checker → · Palette generator →

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