#AF49CE#AF49CE

#AF49CE is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.210 H 317.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF49CE
RGBrgb(175, 73, 206)
HSLhsl(286, 58%, 55%)
HSVhsv(286, 65%, 81%)
CMYKcmyk(15%, 64.6%, 0%, 19.2%)
CIE-LABlab(49.90, 60.86, -50.60)
CIE-LCHlch(49.90, 79.14, 320.26°)
OKLaboklab(59.45% 0.1544 -0.1418)
OKLCHoklch(59.45% 0.21 317.4)
XYZxyz(31.2007, 18.3365, 60.2763)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49CE #68CE49
analogous
#6D49CE #AF49CE #CE49AB
triadic
#AF49CE #CEAF49 #49CEAF
tetradic
#AF49CE #CE6D49 #68CE49 #49ABCE
square
#AF49CE #CE6D49 #68CE49 #49ABCE
split-complementary
#AF49CE #ABCE49 #49CE6D
monochromatic
#66217B #8E2EAC #AF49CE #C479DB #D9A9E8

Accessibility & contrast

On white

4.50
#AF49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AF49CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49CE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49CE#FFFFFF#000000##000000
##AF49CE1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1870D2
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#AE6185
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af49ce;
/* rgb */ color: rgb(175, 73, 206);
/* oklch */ color: oklch(59.4% 0.210 317.4);
Tailwind
colors: {
  custom: {
    50: '#ca83dd',
    500: '#af49ce',
    950: '#000000',
  },
}
SCSS
$custom: #af49ce;
$custom-light: #ca83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af49ce",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 286.015,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.2096,
    "h": 317.4
  },
  "luminance": 0.18335
}

Semantic roles & 50–950 ramp

primary
#AF49CE
secondary
#AAD59D
accent
#E1476B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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