#AF3DAF#AF3DAF

#AF3DAF is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.198 H 327.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF3DAF
RGBrgb(175, 61, 175)
HSLhsl(300, 48%, 46%)
HSVhsv(300, 65%, 69%)
CMYKcmyk(0%, 65.1%, 0%, 31.4%)
CIE-LABlab(46.38, 60.17, -38.19)
CIE-LCHlch(46.38, 71.26, 327.60°)
OKLaboklab(56.35% 0.1677 -0.1055)
OKLCHoklch(56.35% 0.198 327.8)
XYZxyz(27.0854, 15.5484, 42.1237)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DAF #3DAF3D
analogous
#763DAF #AF3DAF #AF3D76
triadic
#AF3DAF #AFAF3D #3DAFAF
tetradic
#AF3DAF #AF763D #3DAF3D #3D76AF
square
#AF3DAF #AF763D #3DAF3D #3D76AF
split-complementary
#AF3DAF #76AF3D #3DAF76
monochromatic
#541D54 #822D82 #AF3DAF #C861C8 #D88FD8

Accessibility & contrast

On white

5.11
#AF3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF3DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DAF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DAF#FFFFFF#000000##FFFFFF
##AF3DAF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#B44C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3daf;
/* rgb */ color: rgb(175, 61, 175);
/* oklch */ color: oklch(56.3% 0.198 327.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bc7',
    500: '#af3daf',
    950: '#000000',
  },
}
SCSS
$custom: #af3daf;
$custom-light: #ca7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3daf",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.19813,
    "h": 327.8
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#AF3DAF
secondary
#85C385
accent
#D85050
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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