#AF3FC3#AF3FC3

#AF3FC3 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.213 H 321.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF3FC3
RGBrgb(175, 63, 195)
HSLhsl(291, 52%, 51%)
HSVhsv(291, 68%, 76%)
CMYKcmyk(10.3%, 67.7%, 0%, 23.5%)
CIE-LABlab(47.77, 62.93, -47.66)
CIE-LCHlch(47.77, 78.95, 322.86°)
OKLaboklab(57.7% 0.1657 -0.1331)
OKLCHoklch(57.7% 0.213 321.2)
XYZxyz(29.3059, 16.6106, 53.2817)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC3 #53C33F
analogous
#6D3FC3 #AF3FC3 #C33F95
triadic
#AF3FC3 #C3AF3F #3FC3AF
tetradic
#AF3FC3 #C36D3F #53C33F #3F95C3
square
#AF3FC3 #C36D3F #53C33F #3F95C3
split-complementary
#AF3FC3 #95C33F #3FC36D
monochromatic
#5D2067 #862F96 #AF3FC3 #C26ED2 #D69CE0

Accessibility & contrast

On white

4.86
#AF3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF3FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC3#FFFFFF#000000##FFFFFF
##AF3FC31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C7
Deuteranopia (green-blind)
#4E75C0
Tritanopia (blue-blind)
#B0567C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3fc3;
/* rgb */ color: rgb(175, 63, 195);
/* oklch */ color: oklch(57.7% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#ca7dd6',
    500: '#af3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc3;
$custom-light: #ca7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc3",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 290.909,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.21256,
    "h": 321.2
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#AF3FC3
secondary
#9ACC92
accent
#DC4C62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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