#AF49E1#AF49E1

#AF49E1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.228 H 312.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF49E1
RGBrgb(175, 73, 225)
HSLhsl(280, 72%, 58%)
HSVhsv(280, 68%, 88%)
CMYKcmyk(22.2%, 67.6%, 0%, 11.8%)
CIE-LABlab(51.06, 64.68, -59.57)
CIE-LCHlch(51.06, 87.94, 317.35°)
OKLaboklab(60.64% 0.1534 -0.1681)
OKLCHoklch(60.64% 0.228 312.4)
XYZxyz(33.6499, 19.3162, 73.1754)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49E1 #7BE149
analogous
#6349E1 #AF49E1 #E149C7
triadic
#AF49E1 #E1AF49 #49E1AF
tetradic
#AF49E1 #E16349 #7BE149 #49C7E1
square
#AF49E1 #E16349 #7BE149 #49C7E1
split-complementary
#AF49E1 #C7E149 #49E163
monochromatic
#6D1997 #9322CB #AF49E1 #C67EEA #DDB2F2

Accessibility & contrast

On white

4.32
#AF49E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AF49E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49E1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49E1#FFFFFF#000000##000000
##AF49E11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#3B7CDE
Tritanopia (blue-blind)
#A96890
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af49e1;
/* rgb */ color: rgb(175, 73, 225);
/* oklch */ color: oklch(60.6% 0.228 312.4);
Tailwind
colors: {
  custom: {
    50: '#cb83eb',
    500: '#af49e1',
    950: '#000000',
  },
}
SCSS
$custom: #af49e1;
$custom-light: #cb83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#af49e1",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 280.263,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.22752,
    "h": 312.4
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#AF49E1
secondary
#B9E1A5
accent
#EE3975
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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