#AF3DC8#AF3DC8

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

Color values

HEX#AF3DC8
RGBrgb(175, 61, 200)
HSLhsl(289, 56%, 51%)
HSVhsv(289, 70%, 78%)
CMYKcmyk(12.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(47.78, 64.65, -50.53)
CIE-LCHlch(47.78, 82.05, 321.99°)
OKLaboklab(57.81% 0.1676 -0.1415)
OKLCHoklch(57.81% 0.219 319.8)
XYZxyz(29.7720, 16.6230, 56.2727)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DC8 #56C83D
analogous
#693DC8 #AF3DC8 #C83D9B
triadic
#AF3DC8 #C8AF3D #3DC8AF
tetradic
#AF3DC8 #C8693D #56C83D #3D9BC8
square
#AF3DC8 #C8693D #56C83D #3D9BC8
split-complementary
#AF3DC8 #9BC83D #3DC869
monochromatic
#5E1F6C #882C9C #AF3DC8 #C36DD6 #D69CE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3DC8#FFFFFF#000000##FFFFFF
##AF3DC81.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)
#006ACC
Deuteranopia (green-blind)
#4975C5
Tritanopia (blue-blind)
#AF577E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3dc8;
/* rgb */ color: rgb(175, 61, 200);
/* oklch */ color: oklch(57.8% 0.219 319.8);
Tailwind
colors: {
  custom: {
    50: '#cb7cd9',
    500: '#af3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #af3dc8;
$custom-light: #cb7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dc8",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 289.209,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.21935,
    "h": 319.8
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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