#AF3DD3#AF3DD3

#AF3DD3 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.229 H 316.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF3DD3
RGBrgb(175, 61, 211)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 71%, 83%)
CMYKcmyk(17.1%, 71.1%, 0%, 17.3%)
CIE-LABlab(48.46, 66.73, -55.78)
CIE-LCHlch(48.46, 86.97, 320.11°)
OKLaboklab(58.51% 0.1668 -0.1569)
OKLCHoklch(58.51% 0.229 316.8)
XYZxyz(31.1040, 17.1559, 63.2884)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DD3 #61D33D
analogous
#643DD3 #AF3DD3 #D33DAC
triadic
#AF3DD3 #D3AF3D #3DD3AF
tetradic
#AF3DD3 #D3643D #61D33D #3DACD3
square
#AF3DD3 #D3643D #61D33D #3DACD3
split-complementary
#AF3DD3 #ACD33D #3DD364
monochromatic
#631C7A #8C27AC #AF3DD3 #C46FDE #D8A1EA

Accessibility & contrast

On white

4.74
#AF3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DD3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DD3#FFFFFF#000000##FFFFFF
##AF3DD31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#3F76D0
Tritanopia (blue-blind)
#AD5C84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3dd3;
/* rgb */ color: rgb(175, 61, 211);
/* oklch */ color: oklch(58.5% 0.229 316.8);
Tailwind
colors: {
  custom: {
    50: '#cb7de1',
    500: '#af3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #af3dd3;
$custom-light: #cb7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dd3",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 285.6,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.22898,
    "h": 316.8
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#AF3DD3
secondary
#A5D696
accent
#E64269
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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