#AF46D0#AF46D0

#AF46D0 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.215 H 317.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF46D0
RGBrgb(175, 70, 208)
HSLhsl(286, 59%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(15.9%, 66.3%, 0%, 18.4%)
CIE-LABlab(49.56, 62.54, -52.30)
CIE-LCHlch(49.56, 81.52, 320.10°)
OKLaboklab(59.24% 0.1577 -0.1467)
OKLCHoklch(59.24% 0.215 317.1)
XYZxyz(31.2529, 18.0496, 61.4999)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46D0 #67D046
analogous
#6A46D0 #AF46D0 #D046AC
triadic
#AF46D0 #D0AF46 #46D0AF
tetradic
#AF46D0 #D06A46 #67D046 #46ACD0
square
#AF46D0 #D06A46 #67D046 #46ACD0
split-complementary
#AF46D0 #ACD046 #46D06A
monochromatic
#66207C #8E2CAD #AF46D0 #C477DC #D9A8E9

Accessibility & contrast

On white

4.56
#AF46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF46D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF46D0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46D0#FFFFFF#000000##000000
##AF46D01.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#026FD4
Deuteranopia (green-blind)
#4979CD
Tritanopia (blue-blind)
#AE6085
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af46d0;
/* rgb */ color: rgb(175, 70, 208);
/* oklch */ color: oklch(59.2% 0.215 317.1);
Tailwind
colors: {
  custom: {
    50: '#ca81df',
    500: '#af46d0',
    950: '#000000',
  },
}
SCSS
$custom: #af46d0;
$custom-light: #ca81df;
$custom-dark: #000000;
JSON
{
  "hex": "#af46d0",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 285.652,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.21538,
    "h": 317.1
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#AF46D0
secondary
#AAD69C
accent
#E3456B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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