#C784FE#C784FE

#C784FE is a light, vivid violet. Relative luminance 0.358; OKLCH L 73.0% C 0.181 H 307.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#C784FE
RGBrgb(199, 132, 254)
HSLhsl(273, 98%, 76%)
HSVhsv(273, 48%, 100%)
CMYKcmyk(21.7%, 48%, 0%, 0.4%)
CIE-LABlab(66.37, 47.76, -51.11)
CIE-LCHlch(66.37, 69.95, 313.06°)
OKLaboklab(72.98% 0.1112 -0.1429)
OKLCHoklch(72.98% 0.181 307.9)
XYZxyz(49.6903, 35.8010, 98.0393)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784FE #BBFE84
analogous
#8A84FE #C784FE #FE84F8
triadic
#C784FE #FEC784 #84FEC7
tetradic
#C784FE #FE8A84 #BBFE84 #84F8FE
square
#C784FE #FE8A84 #BBFE84 #84F8FE
split-complementary
#C784FE #F8FE84 #84FE8A
monochromatic
#900BFD #AB47FE #C784FE #E3C1FE #F1E1FF

Accessibility & contrast

On white

2.57
#C784FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#C784FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784FE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784FE#FFFFFF#000000##000000
##C784FE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#BF99B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c784fe;
/* rgb */ color: rgb(199, 132, 254);
/* oklch */ color: oklch(73.0% 0.181 307.9);
Tailwind
colors: {
  custom: {
    50: '#daa9ff',
    500: '#c784fe',
    950: '#000000',
  },
}
SCSS
$custom: #c784fe;
$custom-light: #daa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c784fe",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 272.951,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72979,
    "c": 0.18105,
    "h": 307.9
  },
  "luminance": 0.358
}

Semantic roles & 50–950 ramp

primary
#C784FE
secondary
#E4F7D4
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C784FE

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

Preview Lab → · Contrast checker → · Palette generator →

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