#C784EE#C784EE

#C784EE is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.2% C 0.163 H 312.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#C784EE
RGBrgb(199, 132, 238)
HSLhsl(278, 76%, 73%)
HSVhsv(278, 45%, 93%)
CMYKcmyk(16.4%, 44.5%, 0%, 6.7%)
CIE-LABlab(65.61, 44.29, -43.53)
CIE-LCHlch(65.61, 62.10, 315.50°)
OKLaboklab(72.16% 0.109 -0.1209)
OKLCHoklch(72.16% 0.163 312)
XYZxyz(47.2344, 34.8186, 85.1047)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784EE #ABEE84
analogous
#9284EE #C784EE #EE84E0
triadic
#C784EE #EEC784 #84EEC7
tetradic
#C784EE #EE9284 #ABEE84 #84E0EE
square
#C784EE #EE9284 #ABEE84 #84E0EE
split-complementary
#C784EE #E0EE84 #84EE92
monochromatic
#951EDA #AF4EE7 #C784EE #DFBAF5 #F3E4FB

Accessibility & contrast

On white

2.64
#C784EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#C784EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784EE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784EE#FFFFFF#000000##000000
##C784EE1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#C394AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c784ee;
/* rgb */ color: rgb(199, 132, 238);
/* oklch */ color: oklch(72.2% 0.163 312.0);
Tailwind
colors: {
  custom: {
    50: '#daa9f4',
    500: '#c784ee',
    950: '#000000',
  },
}
SCSS
$custom: #c784ee;
$custom-light: #daa9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c784ee",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 277.925,
    "s": 75.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72163,
    "c": 0.1628,
    "h": 312
  },
  "luminance": 0.34818
}

Semantic roles & 50–950 ramp

primary
#C784EE
secondary
#E2F3D8
accent
#D80E58
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C784EE

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

Preview Lab → · Contrast checker → · Palette generator →

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