#AF46D3#AF46D3

#AF46D3 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.218 H 316.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF46D3
RGBrgb(175, 70, 211)
HSLhsl(285, 62%, 55%)
HSVhsv(285, 67%, 83%)
CMYKcmyk(17.1%, 66.8%, 0%, 17.3%)
CIE-LABlab(49.74, 63.13, -53.73)
CIE-LCHlch(49.74, 82.89, 319.60°)
OKLaboklab(59.42% 0.1575 -0.1509)
OKLCHoklch(59.42% 0.218 316.2)
XYZxyz(31.6254, 18.1986, 63.4622)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46D3 #6AD346
analogous
#6946D3 #AF46D3 #D346B0
triadic
#AF46D3 #D3AF46 #46D3AF
tetradic
#AF46D3 #D36946 #6AD346 #46B0D3
square
#AF46D3 #D36946 #6AD346 #46B0D3
split-complementary
#AF46D3 #B0D346 #46D369
monochromatic
#671E80 #8F2AB2 #AF46D3 #C477DF #DAA9EB

Accessibility & contrast

On white

4.53
#AF46D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF46D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF46D3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46D3#FFFFFF#000000##000000
##AF46D31.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#4679D0
Tritanopia (blue-blind)
#AD6187
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af46d3;
/* rgb */ color: rgb(175, 70, 211);
/* oklch */ color: oklch(59.4% 0.218 316.2);
Tailwind
colors: {
  custom: {
    50: '#cb81e1',
    500: '#af46d3',
    950: '#000000',
  },
}
SCSS
$custom: #af46d3;
$custom-light: #cb81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#af46d3",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 284.681,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.21815,
    "h": 316.2
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#AF46D3
secondary
#ACD89D
accent
#E5436C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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