#C781BD#C781BD

#C781BD is a light, moderate purple. Relative luminance 0.315; OKLCH L 69.5% C 0.116 H 332.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C781BD
RGBrgb(199, 129, 189)
HSLhsl(309, 38%, 64%)
HSVhsv(309, 35%, 78%)
CMYKcmyk(0%, 35.2%, 5%, 22%)
CIE-LABlab(62.94, 36.25, -20.30)
CIE-LCHlch(62.94, 41.55, 330.75°)
OKLaboklab(69.5% 0.1028 -0.0547)
OKLCHoklch(69.5% 0.116 332)
XYZxyz(40.5883, 31.5186, 52.0800)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C781BD #81C78B
analogous
#AE81C7 #C781BD #C7819A
triadic
#C781BD #BDC781 #81BDC7
tetradic
#C781BD #C7AE81 #81C78B #819AC7
square
#C781BD #C7AE81 #81C78B #819AC7
split-complementary
#C781BD #9AC781 #81C7AE
monochromatic
#8E3F83 #B457A7 #C781BD #DAABD3 #EDD6E9

Accessibility & contrast

On white

2.88
#C781BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C781BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C781BD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C781BD#FFFFFF#000000##000000
##C781BD1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BF
Deuteranopia (green-blind)
#919CBB
Tritanopia (blue-blind)
#CD8597
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c781bd;
/* rgb */ color: rgb(199, 129, 189);
/* oklch */ color: oklch(69.5% 0.116 332.0);
Tailwind
colors: {
  custom: {
    50: '#d9a7d1',
    500: '#c781bd',
    950: '#000000',
  },
}
SCSS
$custom: #c781bd;
$custom-light: #d9a7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c781bd",
  "rgb": {
    "r": 199,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 308.571,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69497,
    "c": 0.11647,
    "h": 332
  },
  "luminance": 0.31517
}

Semantic roles & 50–950 ramp

primary
#C781BD
secondary
#C6DEC9
accent
#B14634
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C781BD

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

Preview Lab → · Contrast checker → · Palette generator →

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