#AF3CC8#AF3CC8

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

Color values

HEX#AF3CC8
RGBrgb(175, 60, 200)
HSLhsl(289, 56%, 51%)
HSVhsv(289, 70%, 78%)
CMYKcmyk(12.5%, 70%, 0%, 21.6%)
CIE-LABlab(47.65, 65.03, -50.75)
CIE-LCHlch(47.65, 82.49, 322.03°)
OKLaboklab(57.71% 0.1686 -0.1421)
OKLCHoklch(57.71% 0.221 319.9)
XYZxyz(29.7191, 16.5173, 56.2551)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CC8 #55C83C
analogous
#693CC8 #AF3CC8 #C83C9B
triadic
#AF3CC8 #C8AF3C #3CC8AF
tetradic
#AF3CC8 #C8693C #55C83C #3C9BC8
square
#AF3CC8 #C8693C #55C83C #3C9BC8
split-complementary
#AF3CC8 #9BC83C #3CC869
monochromatic
#5E1E6B #872C9B #AF3CC8 #C36CD5 #D69BE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3CC8#FFFFFF#000000##FFFFFF
##AF3CC81.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)
#0069CC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#B0567E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3cc8;
/* rgb */ color: rgb(175, 60, 200);
/* oklch */ color: oklch(57.7% 0.221 319.9);
Tailwind
colors: {
  custom: {
    50: '#cb7cd9',
    500: '#af3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #af3cc8;
$custom-light: #cb7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cc8",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 289.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.22053,
    "h": 319.9
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#AF3CC8
secondary
#9CCF91
accent
#DF4963
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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