#C784EC#C784EC

#C784EC is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.1% C 0.161 H 312.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#C784EC
RGBrgb(199, 132, 236)
HSLhsl(279, 73%, 72%)
HSVhsv(279, 44%, 93%)
CMYKcmyk(15.7%, 44.1%, 0%, 7.5%)
CIE-LABlab(65.52, 43.86, -42.57)
CIE-LCHlch(65.52, 61.12, 315.86°)
OKLaboklab(72.07% 0.1087 -0.1181)
OKLCHoklch(72.07% 0.161 312.6)
XYZxyz(46.9422, 34.7017, 83.5659)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784EC #A9EC84
analogous
#9384EC #C784EC #EC84DD
triadic
#C784EC #ECC784 #84ECC7
tetradic
#C784EC #EC9384 #A9EC84 #84DDEC
square
#C784EC #EC9384 #A9EC84 #84DDEC
split-complementary
#C784EC #DDEC84 #84EC93
monochromatic
#9521D5 #AF4FE4 #C784EC #DFB9F4 #F3E4FB

Accessibility & contrast

On white

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

On black

7.94
#C784EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784EC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784EC#FFFFFF#000000##000000
##C784EC1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BF0
Deuteranopia (green-blind)
#80A1E9
Tritanopia (blue-blind)
#C493AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c784ec;
/* rgb */ color: rgb(199, 132, 236);
/* oklch */ color: oklch(72.1% 0.161 312.6);
Tailwind
colors: {
  custom: {
    50: '#daa9f2',
    500: '#c784ec',
    950: '#000000',
  },
}
SCSS
$custom: #c784ec;
$custom-light: #daa9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c784ec",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 278.654,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.16054,
    "h": 312.6
  },
  "luminance": 0.34701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C784EC

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

Preview Lab → · Contrast checker → · Palette generator →

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