#C784EF#C784EF

#C784EF is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.2% C 0.164 H 311.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#C784EF
RGBrgb(199, 132, 239)
HSLhsl(278, 77%, 73%)
HSVhsv(278, 45%, 94%)
CMYKcmyk(16.7%, 44.8%, 0%, 6.3%)
CIE-LABlab(65.65, 44.50, -44.01)
CIE-LCHlch(65.65, 62.59, 315.32°)
OKLaboklab(72.21% 0.1092 -0.1223)
OKLCHoklch(72.21% 0.164 311.8)
XYZxyz(47.3817, 34.8775, 85.8806)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784EF #ACEF84
analogous
#9184EF #C784EF #EF84E1
triadic
#C784EF #EFC784 #84EFC7
tetradic
#C784EF #EF9184 #ACEF84 #84E1EF
square
#C784EF #EF9184 #ACEF84 #84E1EF
split-complementary
#C784EF #E1EF84 #84EF91
monochromatic
#941DDC #AE4EE8 #C784EF #E0BAF6 #F3E4FB

Accessibility & contrast

On white

2.63
#C784EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#C784EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784EF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784EF#FFFFFF#000000##000000
##C784EF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c784ef;
/* rgb */ color: rgb(199, 132, 239);
/* oklch */ color: oklch(72.2% 0.164 311.8);
Tailwind
colors: {
  custom: {
    50: '#daa9f4',
    500: '#c784ef',
    950: '#000000',
  },
}
SCSS
$custom: #c784ef;
$custom-light: #daa9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c784ef",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 277.57,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.16394,
    "h": 311.8
  },
  "luminance": 0.34877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C784EF

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

Preview Lab → · Contrast checker → · Palette generator →

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