#C781CF#C781CF

#C781CF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.2% C 0.134 H 323.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C781CF
RGBrgb(199, 129, 207)
HSLhsl(294, 45%, 66%)
HSVhsv(294, 38%, 81%)
CMYKcmyk(3.9%, 37.7%, 0%, 18.8%)
CIE-LABlab(63.63, 39.60, -29.38)
CIE-LCHlch(63.63, 49.31, 323.43°)
OKLaboklab(70.24% 0.1074 -0.0803)
OKLCHoklch(70.24% 0.134 323.2)
XYZxyz(42.6647, 32.3492, 63.0160)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C781CF #89CF81
analogous
#A081CF #C781CF #CF81B0
triadic
#C781CF #CFC781 #81CFC7
tetradic
#C781CF #CFA081 #89CF81 #81B0CF
square
#C781CF #CFA081 #89CF81 #81B0CF
split-complementary
#C781CF #B0CF81 #81CFA0
monochromatic
#913B9B #B355BE #C781CF #DBADE0 #EEDAF1

Accessibility & contrast

On white

2.81
#C781CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C781CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C781CF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C781CF#FFFFFF#000000##000000
##C781CF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#8B9DCD
Tritanopia (blue-blind)
#CA899E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c781cf;
/* rgb */ color: rgb(199, 129, 207);
/* oklch */ color: oklch(70.2% 0.134 323.2);
Tailwind
colors: {
  custom: {
    50: '#d9a7de',
    500: '#c781cf',
    950: '#000000',
  },
}
SCSS
$custom: #c781cf;
$custom-light: #d9a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#c781cf",
  "rgb": {
    "r": 199,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 293.846,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70242,
    "c": 0.13408,
    "h": 323.2
  },
  "luminance": 0.32348
}

Semantic roles & 50–950 ramp

primary
#C781CF
secondary
#CCE3C9
accent
#B82E3C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C781CF

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

Preview Lab → · Contrast checker → · Palette generator →

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