#AF46D8#AF46D8

#AF46D8 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.223 H 314.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF46D8
RGBrgb(175, 70, 216)
HSLhsl(283, 65%, 56%)
HSVhsv(283, 68%, 85%)
CMYKcmyk(19%, 67.6%, 0%, 15.3%)
CIE-LABlab(50.04, 64.12, -56.09)
CIE-LCHlch(50.04, 85.19, 318.82°)
OKLaboklab(59.74% 0.1572 -0.1578)
OKLCHoklch(59.74% 0.223 314.9)
XYZxyz(32.2620, 18.4533, 66.8148)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46D8 #6FD846
analogous
#6646D8 #AF46D8 #D846B8
triadic
#AF46D8 #D8AF46 #46D8AF
tetradic
#AF46D8 #D86646 #6FD846 #46B8D8
square
#AF46D8 #D86646 #6FD846 #46B8D8
split-complementary
#AF46D8 #B8D846 #46D866
monochromatic
#691C87 #9127BA #AF46D8 #C579E3 #DBABED

Accessibility & contrast

On white

4.48
#AF46D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AF46D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF46D8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46D8#FFFFFF#000000##000000
##AF46D81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#AC638A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af46d8;
/* rgb */ color: rgb(175, 70, 216);
/* oklch */ color: oklch(59.7% 0.223 314.9);
Tailwind
colors: {
  custom: {
    50: '#cb81e5',
    500: '#af46d8',
    950: '#000000',
  },
}
SCSS
$custom: #af46d8;
$custom-light: #cb81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af46d8",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 283.151,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.22279,
    "h": 314.9
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#AF46D8
secondary
#B0DB9F
accent
#E8406F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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