#AF3FC8#AF3FC8

#AF3FC8 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.217 H 319.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3FC8
RGBrgb(175, 63, 200)
HSLhsl(289, 55%, 52%)
HSVhsv(289, 69%, 78%)
CMYKcmyk(12.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(48.06, 63.87, -50.09)
CIE-LCHlch(48.06, 81.17, 321.89°)
OKLaboklab(58.01% 0.1655 -0.1402)
OKLCHoklch(58.01% 0.217 319.7)
XYZxyz(29.8807, 16.8405, 56.3090)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC8 #58C83F
analogous
#6B3FC8 #AF3FC8 #C83F9D
triadic
#AF3FC8 #C8AF3F #3FC8AF
tetradic
#AF3FC8 #C86B3F #58C83F #3F9DC8
square
#AF3FC8 #C86B3F #58C83F #3F9DC8
split-complementary
#AF3FC8 #9DC83F #3FC86B
monochromatic
#5F1F6D #882D9D #AF3FC8 #C36FD6 #D79EE3

Accessibility & contrast

On white

4.81
#AF3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC8#FFFFFF#000000##FFFFFF
##AF3FC81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#AF587F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3fc8;
/* rgb */ color: rgb(175, 63, 200);
/* oklch */ color: oklch(58.0% 0.217 319.7);
Tailwind
colors: {
  custom: {
    50: '#cb7dd9',
    500: '#af3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc8;
$custom-light: #cb7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc8",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 289.051,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.21694,
    "h": 319.7
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#AF3FC8
secondary
#9ED093
accent
#DF4964
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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