#AF3FDA#AF3FDA

#AF3FDA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.233 H 314.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF3FDA
RGBrgb(175, 63, 218)
HSLhsl(283, 68%, 55%)
HSVhsv(283, 71%, 85%)
CMYKcmyk(19.7%, 71.1%, 0%, 14.5%)
CIE-LABlab(49.17, 67.33, -58.63)
CIE-LCHlch(49.17, 89.28, 318.95°)
OKLaboklab(59.16% 0.1642 -0.1652)
OKLCHoklch(59.16% 0.233 314.8)
XYZxyz(32.1095, 17.7321, 68.0473)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FDA #6ADA3F
analogous
#623FDA #AF3FDA #DA3FB7
triadic
#AF3FDA #DAAF3F #3FDAAF
tetradic
#AF3FDA #DA623F #6ADA3F #3FB7DA
square
#AF3FDA #DA623F #6ADA3F #3FB7DA
split-complementary
#AF3FDA #B7DA3F #3FDA62
monochromatic
#671A85 #8F24B8 #AF3FDA #C472E4 #DAA6EE

Accessibility & contrast

On white

4.62
#AF3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AF3FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FDA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FDA#FFFFFF#000000##FFFFFF
##AF3FDA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#AB6089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af3fda;
/* rgb */ color: rgb(175, 63, 218);
/* oklch */ color: oklch(59.2% 0.233 314.8);
Tailwind
colors: {
  custom: {
    50: '#cb7ee6',
    500: '#af3fda',
    950: '#000000',
  },
}
SCSS
$custom: #af3fda;
$custom-light: #cb7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fda",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 283.355,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.23293,
    "h": 314.8
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#AF3FDA
secondary
#ACDB9A
accent
#EB3D6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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