#AF46C8#AF46C8

#AF46C8 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.7% C 0.208 H 319.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF46C8
RGBrgb(175, 70, 200)
HSLhsl(288, 54%, 53%)
HSVhsv(288, 65%, 78%)
CMYKcmyk(12.5%, 65%, 0%, 21.6%)
CIE-LABlab(49.09, 60.99, -48.44)
CIE-LCHlch(49.09, 77.89, 321.54°)
OKLaboklab(58.75% 0.1579 -0.1354)
OKLCHoklch(58.75% 0.208 319.4)
XYZxyz(30.2933, 17.6658, 56.4465)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46C8 #5FC846
analogous
#6E46C8 #AF46C8 #C846A0
triadic
#AF46C8 #C8AF46 #46C8AF
tetradic
#AF46C8 #C86E46 #5FC846 #46A0C8
square
#AF46C8 #C86E46 #5FC846 #46A0C8
split-complementary
#AF46C8 #A0C846 #46C86E
monochromatic
#622272 #8B30A1 #AF46C8 #C375D6 #D8A4E4

Accessibility & contrast

On white

4.63
#AF46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF46C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF46C8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46C8#FFFFFF#000000##FFFFFF
##AF46C81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6ECC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#AF5D81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af46c8;
/* rgb */ color: rgb(175, 70, 200);
/* oklch */ color: oklch(58.7% 0.208 319.4);
Tailwind
colors: {
  custom: {
    50: '#ca81d9',
    500: '#af46c8',
    950: '#000000',
  },
}
SCSS
$custom: #af46c8;
$custom-light: #ca81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af46c8",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 288.462,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.20804,
    "h": 319.4
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#AF46C8
secondary
#A4D199
accent
#DE4A67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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