#AF3DA1#AF3DA1

#AF3DA1 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.187 H 333.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF3DA1
RGBrgb(175, 61, 161)
HSLhsl(307, 48%, 46%)
HSVhsv(307, 65%, 69%)
CMYKcmyk(0%, 65.1%, 8%, 31.4%)
CIE-LABlab(45.67, 57.84, -31.01)
CIE-LCHlch(45.67, 65.63, 331.81°)
OKLaboklab(55.61% 0.1666 -0.0848)
OKLCHoklch(55.61% 0.187 333)
XYZxyz(25.7810, 15.0267, 35.2539)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DA1 #3DAF4B
analogous
#843DAF #AF3DA1 #AF3D68
triadic
#AF3DA1 #A1AF3D #3DA1AF
tetradic
#AF3DA1 #AF843D #3DAF4B #3D68AF
square
#AF3DA1 #AF843D #3DAF4B #3D68AF
split-complementary
#AF3DA1 #68AF3D #3DAF84
monochromatic
#541D4E #822D77 #AF3DA1 #C861BB #D88FCF

Accessibility & contrast

On white

5.24
#AF3DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF3DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DA1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DA1#FFFFFF#000000##FFFFFF
##AF3DA11.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A4
Deuteranopia (green-blind)
#60729E
Tritanopia (blue-blind)
#B74769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3da1;
/* rgb */ color: rgb(175, 61, 161);
/* oklch */ color: oklch(55.6% 0.187 333.0);
Tailwind
colors: {
  custom: {
    50: '#ca7bbd',
    500: '#af3da1',
    950: '#000000',
  },
}
SCSS
$custom: #af3da1;
$custom-light: #ca7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3da1",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 307.368,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.18693,
    "h": 333
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#AF3DA1
secondary
#85C38D
accent
#D86150
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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