#AF3FC1#AF3FC1

#AF3FC1 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.211 H 321.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3FC1
RGBrgb(175, 63, 193)
HSLhsl(292, 51%, 50%)
HSVhsv(292, 67%, 76%)
CMYKcmyk(9.3%, 67.4%, 0%, 24.3%)
CIE-LABlab(47.65, 62.57, -46.69)
CIE-LCHlch(47.65, 78.07, 323.27°)
OKLaboklab(57.58% 0.1658 -0.1303)
OKLCHoklch(57.58% 0.211 321.8)
XYZxyz(29.0813, 16.5208, 52.0988)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC1 #51C13F
analogous
#6E3FC1 #AF3FC1 #C13F92
triadic
#AF3FC1 #C1AF3F #3FC1AF
tetradic
#AF3FC1 #C16E3F #51C13F #3F92C1
square
#AF3FC1 #C16E3F #51C13F #3F92C1
split-complementary
#AF3FC1 #92C13F #3FC16E
monochromatic
#5C2165 #853093 #AF3FC1 #C26DD0 #D69CDF

Accessibility & contrast

On white

4.88
#AF3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF3FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC1#FFFFFF#000000##FFFFFF
##AF3FC11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#B1557B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3fc1;
/* rgb */ color: rgb(175, 63, 193);
/* oklch */ color: oklch(57.6% 0.211 321.8);
Tailwind
colors: {
  custom: {
    50: '#ca7dd4',
    500: '#af3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc1;
$custom-light: #ca7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc1",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 291.692,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.21082,
    "h": 321.8
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#AF3FC1
secondary
#99CB91
accent
#DB4D61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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