#AF3FDE#AF3FDE

#AF3FDE is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.237 H 313.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF3FDE
RGBrgb(175, 63, 222)
HSLhsl(282, 71%, 56%)
HSVhsv(282, 72%, 87%)
CMYKcmyk(21.2%, 71.6%, 0%, 12.9%)
CIE-LABlab(49.43, 68.12, -60.49)
CIE-LCHlch(49.43, 91.10, 318.39°)
OKLaboklab(59.42% 0.1637 -0.1707)
OKLCHoklch(59.42% 0.237 313.8)
XYZxyz(32.6393, 17.9440, 70.8373)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FDE #6EDE3F
analogous
#5F3FDE #AF3FDE #DE3FBE
triadic
#AF3FDE #DEAF3F #3FDEAF
tetradic
#AF3FDE #DE5F3F #6EDE3F #3FBEDE
square
#AF3FDE #DE5F3F #6EDE3F #3FBEDE
split-complementary
#AF3FDE #BEDE3F #3FDE5F
monochromatic
#69188B #9021BF #AF3FDE #C573E7 #DBA7F0

Accessibility & contrast

On white

4.58
#AF3FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF3FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF3FDE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FDE#FFFFFF#000000##000000
##AF3FDE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#3478DB
Tritanopia (blue-blind)
#AA618B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af3fde;
/* rgb */ color: rgb(175, 63, 222);
/* oklch */ color: oklch(59.4% 0.237 313.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ee9',
    500: '#af3fde',
    950: '#000000',
  },
}
SCSS
$custom: #af3fde;
$custom-light: #cb7ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fde",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 282.264,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.23652,
    "h": 313.8
  },
  "luminance": 0.17943
}

Semantic roles & 50–950 ramp

primary
#AF3FDE
secondary
#AFDD9B
accent
#ED3A6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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