#CF41BA#CF41BA

#CF41BA is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.9% C 0.219 H 334.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF41BA
RGBrgb(207, 65, 186)
HSLhsl(309, 60%, 53%)
HSVhsv(309, 69%, 81%)
CMYKcmyk(0%, 68.6%, 10.1%, 18.8%)
CIE-LABlab(52.50, 68.11, -34.63)
CIE-LCHlch(52.50, 76.41, 333.05°)
OKLaboklab(61.94% 0.1979 -0.0946)
OKLCHoklch(61.94% 0.219 334.4)
XYZxyz(36.4857, 20.5942, 48.4983)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF41BA #41CF56
analogous
#9D41CF #CF41BA #CF4173
triadic
#CF41BA #BACF41 #41BACF
tetradic
#CF41BA #CF9D41 #41CF56 #4173CF
square
#CF41BA #CF9D41 #41CF56 #4173CF
split-complementary
#CF41BA #73CF41 #41CF9D
monochromatic
#771E6A #A82B96 #CF41BA #DB72CC #E8A3DD

Accessibility & contrast

On white

4.10
#CF41BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF41BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF41BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF41BA#FFFFFF#000000##000000
##CF41BA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#7085B6
Tritanopia (blue-blind)
#D94C78
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf41ba;
/* rgb */ color: rgb(207, 65, 186);
/* oklch */ color: oklch(61.9% 0.219 334.4);
Tailwind
colors: {
  custom: {
    50: '#e181cf',
    500: '#cf41ba',
    950: '#000000',
  },
}
SCSS
$custom: #cf41ba;
$custom-light: #e181cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf41ba",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 308.873,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61938,
    "c": 0.21934,
    "h": 334.4
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#CF41BA
secondary
#97D4A0
accent
#E35C45
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CF41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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