#C784DE#C784DE

#C784DE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.4% C 0.145 H 317.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C784DE
RGBrgb(199, 132, 222)
HSLhsl(285, 58%, 69%)
HSVhsv(285, 41%, 87%)
CMYKcmyk(10.4%, 40.5%, 0%, 12.9%)
CIE-LABlab(64.90, 40.96, -35.78)
CIE-LCHlch(64.90, 54.39, 318.86°)
OKLaboklab(71.4% 0.1062 -0.0986)
OKLCHoklch(71.4% 0.145 317.1)
XYZxyz(44.9874, 33.9198, 73.2704)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784DE #9BDE84
analogous
#9A84DE #C784DE #DE84C8
triadic
#C784DE #DEC784 #84DEC7
tetradic
#C784DE #DE9A84 #9BDE84 #84C8DE
square
#C784DE #DE9A84 #9BDE84 #84C8DE
split-complementary
#C784DE #C8DE84 #84DE9A
monochromatic
#9431B7 #B154D1 #C784DE #DDB4EB #F3E5F8

Accessibility & contrast

On white

2.70
#C784DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C784DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784DE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784DE#FFFFFF#000000##000000
##C784DE1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E1
Deuteranopia (green-blind)
#87A0DB
Tritanopia (blue-blind)
#C790A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c784de;
/* rgb */ color: rgb(199, 132, 222);
/* oklch */ color: oklch(71.4% 0.145 317.1);
Tailwind
colors: {
  custom: {
    50: '#d9a9e8',
    500: '#c784de',
    950: '#000000',
  },
}
SCSS
$custom: #c784de;
$custom-light: #d9a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c784de",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 222
  },
  "hsl": {
    "h": 284.667,
    "s": 57.692,
    "l": 69.412
  },
  "oklch": {
    "l": 0.714,
    "c": 0.14491,
    "h": 317.1
  },
  "luminance": 0.33919
}

Semantic roles & 50–950 ramp

primary
#C784DE
secondary
#D9ECD2
accent
#C5204A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C784DE

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

Preview Lab → · Contrast checker → · Palette generator →

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