#C782CE#C782CE

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

Color values

HEX#C782CE
RGBrgb(199, 130, 206)
HSLhsl(294, 44%, 66%)
HSVhsv(294, 37%, 81%)
CMYKcmyk(3.4%, 36.9%, 0%, 19.2%)
CIE-LABlab(63.81, 38.87, -28.54)
CIE-LCHlch(63.81, 48.23, 323.71°)
OKLaboklab(70.36% 0.1057 -0.0779)
OKLCHoklch(70.36% 0.131 323.6)
XYZxyz(42.6752, 32.5652, 62.4183)
Luminance0.3256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C782CE #89CE82
analogous
#A182CE #C782CE #CE82AF
triadic
#C782CE #CEC782 #82CEC7
tetradic
#C782CE #CEA182 #89CE82 #82AFCE
square
#C782CE #CEA182 #89CE82 #82AFCE
split-complementary
#C782CE #AFCE82 #82CEA1
monochromatic
#913C99 #B356BD #C782CE #DBAEDF #EEDAF0

Accessibility & contrast

On white

2.80
#C782CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C782CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C782CE
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C782CE#FFFFFF#000000##000000
##C782CE1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c782ce;
/* rgb */ color: rgb(199, 130, 206);
/* oklch */ color: oklch(70.4% 0.131 323.6);
Tailwind
colors: {
  custom: {
    50: '#d9a7dd',
    500: '#c782ce',
    950: '#000000',
  },
}
SCSS
$custom: #c782ce;
$custom-light: #d9a7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c782ce",
  "rgb": {
    "r": 199,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 294.474,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70362,
    "c": 0.1313,
    "h": 323.6
  },
  "luminance": 0.32564
}

Semantic roles & 50–950 ramp

primary
#C782CE
secondary
#CCE2C9
accent
#B72F3B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C782CE

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

Preview Lab → · Contrast checker → · Palette generator →

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