#AF3FC7#AF3FC7

#AF3FC7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.216 H 320.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3FC7
RGBrgb(175, 63, 199)
HSLhsl(289, 55%, 51%)
HSVhsv(289, 68%, 78%)
CMYKcmyk(12.1%, 68.3%, 0%, 22%)
CIE-LABlab(48.00, 63.68, -49.61)
CIE-LCHlch(48.00, 80.72, 322.08°)
OKLaboklab(57.95% 0.1656 -0.1388)
OKLCHoklch(57.95% 0.216 320)
XYZxyz(29.7642, 16.7940, 55.6955)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC7 #57C73F
analogous
#6B3FC7 #AF3FC7 #C73F9B
triadic
#AF3FC7 #C7AF3F #3FC7AF
tetradic
#AF3FC7 #C76B3F #57C73F #3F9BC7
square
#AF3FC7 #C76B3F #57C73F #3F9BC7
split-complementary
#AF3FC7 #9BC73F #3FC76B
monochromatic
#5F206C #882D9B #AF3FC7 #C36ED5 #D69EE3

Accessibility & contrast

On white

4.82
#AF3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC7#FFFFFF#000000##FFFFFF
##AF3FC71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ACB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#B0587E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3fc7;
/* rgb */ color: rgb(175, 63, 199);
/* oklch */ color: oklch(57.9% 0.216 320.0);
Tailwind
colors: {
  custom: {
    50: '#cb7dd9',
    500: '#af3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc7;
$custom-light: #cb7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc7",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 289.412,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.21606,
    "h": 320
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#AF3FC7
secondary
#9ECF93
accent
#DE4A64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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