#C784EA#C784EA

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

Color values

HEX#C784EA
RGBrgb(199, 132, 234)
HSLhsl(279, 71%, 72%)
HSVhsv(279, 44%, 92%)
CMYKcmyk(15%, 43.6%, 0%, 8.2%)
CIE-LABlab(65.43, 43.44, -41.61)
CIE-LCHlch(65.43, 60.15, 316.24°)
OKLaboklab(71.97% 0.1084 -0.1154)
OKLCHoklch(71.97% 0.158 313.2)
XYZxyz(46.6533, 34.5862, 82.0441)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784EA #A7EA84
analogous
#9484EA #C784EA #EA84DA
triadic
#C784EA #EAC784 #84EAC7
tetradic
#C784EA #EA9484 #A7EA84 #84DAEA
square
#C784EA #EA9484 #A7EA84 #84DAEA
split-complementary
#C784EA #DAEA84 #84EA94
monochromatic
#9524D0 #AF50E1 #C784EA #DFB8F3 #F3E5FB

Accessibility & contrast

On white

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

On black

7.92
#C784EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784EA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784EA#FFFFFF#000000##000000
##C784EA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#81A1E7
Tritanopia (blue-blind)
#C493AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c784ea;
/* rgb */ color: rgb(199, 132, 234);
/* oklch */ color: oklch(72.0% 0.158 313.2);
Tailwind
colors: {
  custom: {
    50: '#daa9f1',
    500: '#c784ea',
    950: '#000000',
  },
}
SCSS
$custom: #c784ea;
$custom-light: #daa9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c784ea",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 279.412,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71968,
    "c": 0.15828,
    "h": 313.2
  },
  "luminance": 0.34585
}

Semantic roles & 50–950 ramp

primary
#C784EA
secondary
#E1F2D8
accent
#D31355
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C784EA

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

Preview Lab → · Contrast checker → · Palette generator →

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