#AF46D1#AF46D1

#AF46D1 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.216 H 316.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF46D1
RGBrgb(175, 70, 209)
HSLhsl(285, 60%, 55%)
HSVhsv(285, 67%, 82%)
CMYKcmyk(16.3%, 66.5%, 0%, 18%)
CIE-LABlab(49.62, 62.73, -52.77)
CIE-LCHlch(49.62, 81.98, 319.93°)
OKLaboklab(59.3% 0.1576 -0.1481)
OKLCHoklch(59.3% 0.216 316.8)
XYZxyz(31.3763, 18.0990, 62.1499)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46D1 #68D146
analogous
#6A46D1 #AF46D1 #D146AD
triadic
#AF46D1 #D1AF46 #46D1AF
tetradic
#AF46D1 #D16A46 #68D146 #46ADD1
square
#AF46D1 #D16A46 #68D146 #46ADD1
split-complementary
#AF46D1 #ADD146 #46D16A
monochromatic
#661F7D #8E2BAE #AF46D1 #C477DD #D9A8E9

Accessibility & contrast

On white

4.55
#AF46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF46D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF46D1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46D1#FFFFFF#000000##000000
##AF46D11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D5
Deuteranopia (green-blind)
#4879CE
Tritanopia (blue-blind)
#AD6086
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af46d1;
/* rgb */ color: rgb(175, 70, 209);
/* oklch */ color: oklch(59.3% 0.216 316.8);
Tailwind
colors: {
  custom: {
    50: '#cb81e0',
    500: '#af46d1',
    950: '#000000',
  },
}
SCSS
$custom: #af46d1;
$custom-light: #cb81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af46d1",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 285.324,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.2163,
    "h": 316.8
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#AF46D1
secondary
#AAD79C
accent
#E3446B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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