#C641BA#C641BA

#C641BA is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.214 H 331.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C641BA
RGBrgb(198, 65, 186)
HSLhsl(305, 54%, 52%)
HSVhsv(305, 67%, 78%)
CMYKcmyk(0%, 67.2%, 6.1%, 22.4%)
CIE-LABlab(51.08, 65.96, -36.97)
CIE-LCHlch(51.08, 75.62, 330.73°)
OKLaboklab(60.63% 0.1887 -0.1015)
OKLCHoklch(60.63% 0.214 331.7)
XYZxyz(34.0419, 19.3342, 48.3838)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C641BA #41C64D
analogous
#9041C6 #C641BA #C64178
triadic
#C641BA #BAC641 #41BAC6
tetradic
#C641BA #C69041 #41C64D #4178C6
square
#C641BA #C69041 #41C64D #4178C6
split-complementary
#C641BA #78C641 #41C690
monochromatic
#6C2065 #9B2F91 #C641BA #D470CB #E29FDC

Accessibility & contrast

On white

4.32
#C641BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C641BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C641BA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C641BA#FFFFFF#000000##000000
##C641BA1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#6980B7
Tritanopia (blue-blind)
#CE4F78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c641ba;
/* rgb */ color: rgb(198, 65, 186);
/* oklch */ color: oklch(60.6% 0.214 331.7);
Tailwind
colors: {
  custom: {
    50: '#db80cf',
    500: '#c641ba',
    950: '#000000',
  },
}
SCSS
$custom: #c641ba;
$custom-light: #db80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c641ba",
  "rgb": {
    "r": 198,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 305.414,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.21425,
    "h": 331.7
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#C641BA
secondary
#94CF99
accent
#DD584B
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C641BA

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

Preview Lab → · Contrast checker → · Palette generator →

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