#AF46AD#AF46AD

#AF46AD is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.184 H 328.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF46AD
RGBrgb(175, 70, 173)
HSLhsl(301, 43%, 48%)
HSVhsv(301, 60%, 69%)
CMYKcmyk(0%, 60%, 1.1%, 31.4%)
CIE-LABlab(47.64, 56.03, -35.02)
CIE-LCHlch(47.64, 66.07, 328.00°)
OKLaboklab(57.23% 0.1568 -0.0964)
OKLCHoklch(57.23% 0.184 328.4)
XYZxyz(27.4118, 16.5132, 41.2706)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46AD #46AF48
analogous
#7C46AF #AF46AD #AF4678
triadic
#AF46AD #ADAF46 #46ADAF
tetradic
#AF46AD #AF7C46 #46AF48 #4678AF
square
#AF46AD #AF7C46 #46AF48 #4678AF
split-complementary
#AF46AD #78AF46 #46AF7C
monochromatic
#582357 #833582 #AF46AD #C56DC3 #D699D5

Accessibility & contrast

On white

4.88
#AF46AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF46AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF46AD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46AD#FFFFFF#000000##FFFFFF
##AF46AD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#5F76AA
Tritanopia (blue-blind)
#B45273
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af46ad;
/* rgb */ color: rgb(175, 70, 173);
/* oklch */ color: oklch(57.2% 0.184 328.4);
Tailwind
colors: {
  custom: {
    50: '#ca80c6',
    500: '#af46ad',
    950: '#000000',
  },
}
SCSS
$custom: #af46ad;
$custom-light: #ca80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af46ad",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 301.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.18411,
    "h": 328.4
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#AF46AD
secondary
#8EC28F
accent
#D35855
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF46AD

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

Preview Lab → · Contrast checker → · Palette generator →

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