#AF41CE#AF41CE

#AF41CE is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.220 H 317.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF41CE
RGBrgb(175, 65, 206)
HSLhsl(287, 59%, 53%)
HSVhsv(287, 68%, 81%)
CMYKcmyk(15%, 68.4%, 0%, 19.2%)
CIE-LABlab(48.70, 64.21, -52.52)
CIE-LCHlch(48.70, 82.95, 320.72°)
OKLaboklab(58.58% 0.1631 -0.1473)
OKLCHoklch(58.58% 0.22 317.9)
XYZxyz(30.7085, 17.3521, 60.1123)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41CE #60CE41
analogous
#6941CE #AF41CE #CE41A6
triadic
#AF41CE #CEAF41 #41CEAF
tetradic
#AF41CE #CE6941 #60CE41 #41A6CE
square
#AF41CE #CE6941 #60CE41 #41A6CE
split-complementary
#AF41CE #A6CE41 #41CE69
monochromatic
#631E76 #8C2BA7 #AF41CE #C372DB #D8A2E7

Accessibility & contrast

On white

4.70
#AF41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AF41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41CE#FFFFFF#000000##FFFFFF
##AF41CE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#AE5C83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af41ce;
/* rgb */ color: rgb(175, 65, 206);
/* oklch */ color: oklch(58.6% 0.220 317.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ede',
    500: '#af41ce',
    950: '#000000',
  },
}
SCSS
$custom: #af41ce;
$custom-light: #cb7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#af41ce",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 286.809,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.21982,
    "h": 317.9
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#AF41CE
secondary
#A4D497
accent
#E24668
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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