#AF3FD9#AF3FD9

#AF3FD9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.232 H 315.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF3FD9
RGBrgb(175, 63, 217)
HSLhsl(284, 67%, 55%)
HSVhsv(284, 71%, 85%)
CMYKcmyk(19.4%, 71%, 0%, 14.9%)
CIE-LABlab(49.11, 67.13, -58.17)
CIE-LCHlch(49.11, 88.83, 319.09°)
OKLaboklab(59.09% 0.1643 -0.1639)
OKLCHoklch(59.09% 0.232 315.1)
XYZxyz(31.9791, 17.6799, 67.3602)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FD9 #69D93F
analogous
#623FD9 #AF3FD9 #D93FB6
triadic
#AF3FD9 #D9AF3F #3FD9AF
tetradic
#AF3FD9 #D9623F #69D93F #3FB6D9
square
#AF3FD9 #D9623F #69D93F #3FB6D9
split-complementary
#AF3FD9 #B6D93F #3FD962
monochromatic
#671A84 #8F24B7 #AF3FD9 #C472E3 #DAA5ED

Accessibility & contrast

On white

4.63
#AF3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF3FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FD9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FD9#FFFFFF#000000##FFFFFF
##AF3FD91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#AC5F88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af3fd9;
/* rgb */ color: rgb(175, 63, 217);
/* oklch */ color: oklch(59.1% 0.232 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb7ee5',
    500: '#af3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #af3fd9;
$custom-light: #cb7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fd9",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 283.636,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.23204,
    "h": 315.1
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#AF3FD9
secondary
#ABDA9A
accent
#EA3E6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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