#AF3FC4#AF3FC4

#AF3FC4 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.213 H 320.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3FC4
RGBrgb(175, 63, 196)
HSLhsl(291, 53%, 51%)
HSVhsv(291, 68%, 77%)
CMYKcmyk(10.7%, 67.9%, 0%, 23.1%)
CIE-LABlab(47.82, 63.12, -48.15)
CIE-LCHlch(47.82, 79.39, 322.66°)
OKLaboklab(57.76% 0.1657 -0.1345)
OKLCHoklch(57.76% 0.213 320.9)
XYZxyz(29.4194, 16.6560, 53.8792)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC4 #54C43F
analogous
#6C3FC4 #AF3FC4 #C43F97
triadic
#AF3FC4 #C4AF3F #3FC4AF
tetradic
#AF3FC4 #C46C3F #54C43F #3F97C4
square
#AF3FC4 #C46C3F #54C43F #3F97C4
split-complementary
#AF3FC4 #97C43F #3FC46C
monochromatic
#5D2068 #872E97 #AF3FC4 #C36ED2 #D69DE1

Accessibility & contrast

On white

4.85
#AF3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC4#FFFFFF#000000##FFFFFF
##AF3FC41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6AC8
Deuteranopia (green-blind)
#4D76C1
Tritanopia (blue-blind)
#B0567D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3fc4;
/* rgb */ color: rgb(175, 63, 196);
/* oklch */ color: oklch(57.8% 0.213 320.9);
Tailwind
colors: {
  custom: {
    50: '#ca7dd6',
    500: '#af3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc4;
$custom-light: #ca7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc4",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 290.526,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57763,
    "c": 0.21344,
    "h": 320.9
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#AF3FC4
secondary
#9BCD92
accent
#DC4B62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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