#AF71F3#AF71F3

#AF71F3 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.191 H 303.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF71F3
RGBrgb(175, 113, 243)
HSLhsl(269, 84%, 70%)
HSVhsv(269, 53%, 95%)
CMYKcmyk(28%, 53.5%, 0%, 4.7%)
CIE-LABlab(59.34, 49.20, -56.38)
CIE-LCHlch(59.34, 74.83, 311.11°)
OKLaboklab(67.01% 0.1059 -0.1589)
OKLCHoklch(67.01% 0.191 303.7)
XYZxyz(39.7584, 27.3954, 87.9699)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71F3 #B5F371
analogous
#7174F3 #AF71F3 #F071F3
triadic
#AF71F3 #F3AF71 #71F3AF
tetradic
#AF71F3 #F37174 #B5F371 #71F3F0
square
#AF71F3 #F37174 #B5F371 #71F3F0
split-complementary
#AF71F3 #F3F071 #74F371
monochromatic
#7012D7 #8F39EE #AF71F3 #CFA9F8 #EFE2FD

Accessibility & contrast

On white

3.24
#AF71F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AF71F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71F3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71F3#FFFFFF#000000##000000
##AF71F31.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF7
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#A38AA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af71f3;
/* rgb */ color: rgb(175, 113, 243);
/* oklch */ color: oklch(67.0% 0.191 303.7);
Tailwind
colors: {
  custom: {
    50: '#ca9cf8',
    500: '#af71f3',
    950: '#000000',
  },
}
SCSS
$custom: #af71f3;
$custom-light: #ca9cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#af71f3",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 268.615,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6701,
    "c": 0.19095,
    "h": 303.7
  },
  "luminance": 0.27395
}

Semantic roles & 50–950 ramp

primary
#AF71F3
secondary
#E1F2CE
accent
#E10578
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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