#C782CF#C782CF

#C782CF is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.4% C 0.132 H 323.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C782CF
RGBrgb(199, 130, 207)
HSLhsl(294, 45%, 66%)
HSVhsv(294, 37%, 81%)
CMYKcmyk(3.9%, 37.2%, 0%, 18.8%)
CIE-LABlab(63.85, 39.06, -29.04)
CIE-LCHlch(63.85, 48.68, 323.37°)
OKLaboklab(70.41% 0.1059 -0.0794)
OKLCHoklch(70.41% 0.132 323.2)
XYZxyz(42.7971, 32.6139, 63.0601)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C782CF #8ACF82
analogous
#A082CF #C782CF #CF82B0
triadic
#C782CF #CFC782 #82CFC7
tetradic
#C782CF #CFA082 #8ACF82 #82B0CF
square
#C782CF #CFA082 #8ACF82 #82B0CF
split-complementary
#C782CF #B0CF82 #82CFA0
monochromatic
#913C9B #B356BE #C782CF #DBAEE0 #EFDAF1

Accessibility & contrast

On white

2.79
#C782CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#C782CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C782CF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C782CF#FFFFFF#000000##000000
##C782CF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#8B9ECD
Tritanopia (blue-blind)
#CA8A9F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c782cf;
/* rgb */ color: rgb(199, 130, 207);
/* oklch */ color: oklch(70.4% 0.132 323.2);
Tailwind
colors: {
  custom: {
    50: '#d9a7de',
    500: '#c782cf',
    950: '#000000',
  },
}
SCSS
$custom: #c782cf;
$custom-light: #d9a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#c782cf",
  "rgb": {
    "r": 199,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 293.766,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70405,
    "c": 0.13233,
    "h": 323.2
  },
  "luminance": 0.32612
}

Semantic roles & 50–950 ramp

primary
#C782CF
secondary
#CCE3CA
accent
#B82E3C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C782CF

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

Preview Lab → · Contrast checker → · Palette generator →

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