#AF41CB#AF41CB

#AF41CB is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.217 H 318.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF41CB
RGBrgb(175, 65, 203)
HSLhsl(288, 57%, 53%)
HSVhsv(288, 68%, 80%)
CMYKcmyk(13.8%, 68%, 0%, 20.4%)
CIE-LABlab(48.52, 63.64, -51.08)
CIE-LCHlch(48.52, 81.60, 321.25°)
OKLaboklab(58.4% 0.1633 -0.1431)
OKLCHoklch(58.4% 0.217 318.8)
XYZxyz(30.3475, 17.2077, 58.2112)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF41CB #5DCB41
analogous
#6A41CB #AF41CB #CB41A2
triadic
#AF41CB #CBAF41 #41CBAF
tetradic
#AF41CB #CB6A41 #5DCB41 #41A2CB
square
#AF41CB #CB6A41 #5DCB41 #41A2CB
split-complementary
#AF41CB #A2CB41 #41CB6A
monochromatic
#611F72 #8A2CA2 #AF41CB #C371D8 #D7A1E5

Accessibility & contrast

On white

4.73
#AF41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AF41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF41CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF41CB#FFFFFF#000000##FFFFFF
##AF41CB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#AF5B81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af41cb;
/* rgb */ color: rgb(175, 65, 203);
/* oklch */ color: oklch(58.4% 0.217 318.8);
Tailwind
colors: {
  custom: {
    50: '#cb7edb',
    500: '#af41cb',
    950: '#000000',
  },
}
SCSS
$custom: #af41cb;
$custom-light: #cb7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#af41cb",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 287.826,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.21714,
    "h": 318.8
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#AF41CB
secondary
#A2D296
accent
#E04867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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