#AF3FD3#AF3FD3

#AF3FD3 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.227 H 316.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF3FD3
RGBrgb(175, 63, 211)
HSLhsl(285, 63%, 54%)
HSVhsv(285, 70%, 83%)
CMYKcmyk(17.1%, 70.1%, 0%, 17.3%)
CIE-LABlab(48.73, 65.96, -55.34)
CIE-LCHlch(48.73, 86.11, 320.00°)
OKLaboklab(58.7% 0.1648 -0.1556)
OKLCHoklch(58.7% 0.227 316.7)
XYZxyz(31.2128, 17.3734, 63.3246)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FD3 #63D33F
analogous
#653FD3 #AF3FD3 #D33FAD
triadic
#AF3FD3 #D3AF3F #3FD3AF
tetradic
#AF3FD3 #D3653F #63D33F #3FADD3
square
#AF3FD3 #D3653F #63D33F #3FADD3
split-complementary
#AF3FD3 #ADD33F #3FD365
monochromatic
#641C7B #8D28AD #AF3FD3 #C471DE #D8A3EA

Accessibility & contrast

On white

4.69
#AF3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AF3FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FD3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FD3#FFFFFF#000000##FFFFFF
##AF3FD31.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#4077D0
Tritanopia (blue-blind)
#AD5D85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af3fd3;
/* rgb */ color: rgb(175, 63, 211);
/* oklch */ color: oklch(58.7% 0.227 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb7ee1',
    500: '#af3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #af3fd3;
$custom-light: #cb7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fd3",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 285.405,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.22667,
    "h": 316.7
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#AF3FD3
secondary
#A7D797
accent
#E6426A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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