#AF71CF#AF71CF

#AF71CF is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.0% C 0.149 H 313.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF71CF
RGBrgb(175, 113, 207)
HSLhsl(280, 49%, 63%)
HSVhsv(280, 45%, 81%)
CMYKcmyk(15.5%, 45.4%, 0%, 18.8%)
CIE-LABlab(57.49, 41.08, -39.14)
CIE-LCHlch(57.49, 56.74, 316.38°)
OKLaboklab(65.04% 0.1023 -0.1087)
OKLCHoklch(65.04% 0.149 313.3)
XYZxyz(34.8449, 25.4300, 62.0923)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71CF #91CF71
analogous
#8071CF #AF71CF #CF71C0
triadic
#AF71CF #CFAF71 #71CFAF
tetradic
#AF71CF #CF8071 #91CF71 #71C0CF
square
#AF71CF #CF8071 #91CF71 #71C0CF
split-complementary
#AF71CF #C0CF71 #71CF80
monochromatic
#723294 #9543C0 #AF71CF #C99FDE #E3CCEE

Accessibility & contrast

On white

3.45
#AF71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AF71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71CF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71CF#FFFFFF#000000##000000
##AF71CF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#6E8CCC
Tritanopia (blue-blind)
#AC7F96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af71cf;
/* rgb */ color: rgb(175, 113, 207);
/* oklch */ color: oklch(65.0% 0.149 313.3);
Tailwind
colors: {
  custom: {
    50: '#c89bde',
    500: '#af71cf',
    950: '#000000',
  },
}
SCSS
$custom: #af71cf;
$custom-light: #c89bde;
$custom-dark: #000000;
JSON
{
  "hex": "#af71cf",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 279.574,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65039,
    "c": 0.14923,
    "h": 313.3
  },
  "luminance": 0.25429
}

Semantic roles & 50–950 ramp

primary
#AF71CF
secondary
#C8DFBD
accent
#BD295B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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