#AF3FD1#AF3FD1

#AF3FD1 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.225 H 317.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF3FD1
RGBrgb(175, 63, 209)
HSLhsl(286, 61%, 53%)
HSVhsv(286, 70%, 82%)
CMYKcmyk(16.3%, 69.9%, 0%, 18%)
CIE-LABlab(48.60, 65.58, -54.40)
CIE-LCHlch(48.60, 85.20, 320.32°)
OKLaboklab(58.57% 0.165 -0.1528)
OKLCHoklch(58.57% 0.225 317.2)
XYZxyz(30.9636, 17.2737, 62.0124)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FD1 #61D13F
analogous
#663FD1 #AF3FD1 #D13FAA
triadic
#AF3FD1 #D1AF3F #3FD1AF
tetradic
#AF3FD1 #D1663F #61D13F #3FAAD1
square
#AF3FD1 #D1663F #61D13F #3FAAD1
split-complementary
#AF3FD1 #AAD13F #3FD166
monochromatic
#631D79 #8C29AA #AF3FD1 #C470DD #D8A2E9

Accessibility & contrast

On white

4.71
#AF3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AF3FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FD1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FD1#FFFFFF#000000##FFFFFF
##AF3FD11.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#4277CE
Tritanopia (blue-blind)
#AD5C84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3fd1;
/* rgb */ color: rgb(175, 63, 209);
/* oklch */ color: oklch(58.6% 0.225 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb7de0',
    500: '#af3fd1',
    950: '#000000',
  },
}
SCSS
$custom: #af3fd1;
$custom-light: #cb7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fd1",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 286.027,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.2249,
    "h": 317.2
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#AF3FD1
secondary
#A5D597
accent
#E44369
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF3FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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