#AF3FC6#AF3FC6

#AF3FC6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.215 H 320.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF3FC6
RGBrgb(175, 63, 198)
HSLhsl(290, 54%, 51%)
HSVhsv(290, 68%, 78%)
CMYKcmyk(11.6%, 68.2%, 0%, 22.4%)
CIE-LABlab(47.94, 63.49, -49.12)
CIE-LCHlch(47.94, 80.28, 322.27°)
OKLaboklab(57.89% 0.1656 -0.1374)
OKLCHoklch(57.89% 0.215 320.3)
XYZxyz(29.6485, 16.7477, 55.0861)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC6 #56C63F
analogous
#6B3FC6 #AF3FC6 #C63F99
triadic
#AF3FC6 #C6AF3F #3FC6AF
tetradic
#AF3FC6 #C66B3F #56C63F #3F99C6
square
#AF3FC6 #C66B3F #56C63F #3F99C6
split-complementary
#AF3FC6 #99C63F #3FC66B
monochromatic
#5E206B #882E9A #AF3FC6 #C36ED4 #D69DE2

Accessibility & contrast

On white

4.83
#AF3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF3FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC6#FFFFFF#000000##FFFFFF
##AF3FC61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ACA
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#B0577E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3fc6;
/* rgb */ color: rgb(175, 63, 198);
/* oklch */ color: oklch(57.9% 0.215 320.3);
Tailwind
colors: {
  custom: {
    50: '#ca7dd8',
    500: '#af3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc6;
$custom-light: #ca7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc6",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 289.778,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.21518,
    "h": 320.3
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#AF3FC6
secondary
#9DCE93
accent
#DE4A63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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