#AF71DA#AF71DA

#AF71DA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.162 H 309.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF71DA
RGBrgb(175, 113, 218)
HSLhsl(275, 59%, 65%)
HSVhsv(275, 48%, 85%)
CMYKcmyk(19.7%, 48.2%, 0%, 14.5%)
CIE-LABlab(58.02, 43.48, -44.51)
CIE-LCHlch(58.02, 62.23, 314.33°)
OKLaboklab(65.61% 0.1038 -0.1242)
OKLCHoklch(65.61% 0.162 309.9)
XYZxyz(36.2369, 25.9868, 69.4231)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71DA #9CDA71
analogous
#7B71DA #AF71DA #DA71D0
triadic
#AF71DA #DAAF71 #71DAAF
tetradic
#AF71DA #DA7B71 #9CDA71 #71D0DA
square
#AF71DA #DA7B71 #9CDA71 #71D0DA
split-complementary
#AF71DA #D0DA71 #71DA7B
monochromatic
#732BA5 #9440CD #AF71DA #CAA2E7 #E6D2F3

Accessibility & contrast

On white

3.39
#AF71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AF71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71DA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71DA#FFFFFF#000000##000000
##AF71DA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DE
Deuteranopia (green-blind)
#688DD7
Tritanopia (blue-blind)
#AA829B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af71da;
/* rgb */ color: rgb(175, 113, 218);
/* oklch */ color: oklch(65.6% 0.162 309.9);
Tailwind
colors: {
  custom: {
    50: '#c99be6',
    500: '#af71da',
    950: '#000000',
  },
}
SCSS
$custom: #af71da;
$custom-light: #c99be6;
$custom-dark: #000000;
JSON
{
  "hex": "#af71da",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 275.429,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6561,
    "c": 0.16189,
    "h": 309.9
  },
  "luminance": 0.25986
}

Semantic roles & 50–950 ramp

primary
#AF71DA
secondary
#D0E5C1
accent
#C61F64
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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