#CF41B8#CF41B8

#CF41B8 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.218 H 335.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF41B8
RGBrgb(207, 65, 184)
HSLhsl(310, 60%, 53%)
HSVhsv(310, 69%, 81%)
CMYKcmyk(0%, 68.6%, 11.1%, 18.8%)
CIE-LABlab(52.41, 67.82, -33.62)
CIE-LCHlch(52.41, 75.69, 333.63°)
OKLaboklab(61.84% 0.1977 -0.0917)
OKLCHoklch(61.84% 0.218 335.1)
XYZxyz(36.2745, 20.5098, 47.3864)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF41B8 #41CF58
analogous
#9F41CF #CF41B8 #CF4171
triadic
#CF41B8 #B8CF41 #41B8CF
tetradic
#CF41B8 #CF9F41 #41CF58 #4171CF
square
#CF41B8 #CF9F41 #41CF58 #4171CF
split-complementary
#CF41B8 #71CF41 #41CF9F
monochromatic
#771E69 #A82B94 #CF41B8 #DB72CA #E8A3DD

Accessibility & contrast

On white

4.12
#CF41B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CF41B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF41B8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF41B8#FFFFFF#000000##000000
##CF41B81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4170BB
Deuteranopia (green-blind)
#7185B5
Tritanopia (blue-blind)
#D94B77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf41b8;
/* rgb */ color: rgb(207, 65, 184);
/* oklch */ color: oklch(61.8% 0.218 335.1);
Tailwind
colors: {
  custom: {
    50: '#e181cd',
    500: '#cf41b8',
    950: '#000000',
  },
}
SCSS
$custom: #cf41b8;
$custom-light: #e181cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf41b8",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 309.718,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6184,
    "c": 0.21791,
    "h": 335.1
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#CF41B8
secondary
#97D4A1
accent
#E35F45
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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