#C784EB#C784EB

#C784EB is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.0% C 0.159 H 312.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#C784EB
RGBrgb(199, 132, 235)
HSLhsl(279, 72%, 72%)
HSVhsv(279, 44%, 92%)
CMYKcmyk(15.3%, 43.8%, 0%, 7.8%)
CIE-LABlab(65.47, 43.65, -42.09)
CIE-LCHlch(65.47, 60.64, 316.05°)
OKLaboklab(72.02% 0.1085 -0.1167)
OKLCHoklch(72.02% 0.159 312.9)
XYZxyz(46.7973, 34.6438, 82.8028)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784EB #A8EB84
analogous
#9484EB #C784EB #EB84DC
triadic
#C784EB #EBC784 #84EBC7
tetradic
#C784EB #EB9484 #A8EB84 #84DCEB
square
#C784EB #EB9484 #A8EB84 #84DCEB
split-complementary
#C784EB #DCEB84 #84EB94
monochromatic
#9522D2 #AF4FE2 #C784EB #DFB9F4 #F3E5FB

Accessibility & contrast

On white

2.65
#C784EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#C784EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784EB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784EB#FFFFFF#000000##000000
##C784EB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#C493AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c784eb;
/* rgb */ color: rgb(199, 132, 235);
/* oklch */ color: oklch(72.0% 0.159 312.9);
Tailwind
colors: {
  custom: {
    50: '#daa9f2',
    500: '#c784eb',
    950: '#000000',
  },
}
SCSS
$custom: #c784eb;
$custom-light: #daa9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c784eb",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 279.029,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72016,
    "c": 0.15941,
    "h": 312.9
  },
  "luminance": 0.34643
}

Semantic roles & 50–950 ramp

primary
#C784EB
secondary
#E2F2D8
accent
#D41155
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C784EB

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

Preview Lab → · Contrast checker → · Palette generator →

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