#C784FA#C784FA

#C784FA is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.176 H 308.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C784FA
RGBrgb(199, 132, 250)
HSLhsl(274, 92%, 75%)
HSVhsv(274, 47%, 98%)
CMYKcmyk(20.4%, 47.2%, 0%, 2%)
CIE-LABlab(66.17, 46.88, -49.23)
CIE-LCHlch(66.17, 67.98, 313.60°)
OKLaboklab(72.77% 0.1107 -0.1374)
OKLCHoklch(72.77% 0.176 308.8)
XYZxyz(49.0565, 35.5474, 94.7010)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784FA #B7FA84
analogous
#8C84FA #C784FA #FA84F2
triadic
#C784FA #FAC784 #84FAC7
tetradic
#C784FA #FA8C84 #B7FA84 #84F2FA
square
#C784FA #FA8C84 #B7FA84 #84F2FA
split-complementary
#C784FA #F2FA84 #84FA8C
monochromatic
#910EF5 #AC49F8 #C784FA #E2BFFC #F2E2FE

Accessibility & contrast

On white

2.59
#C784FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C784FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784FA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784FA#FFFFFF#000000##000000
##C784FA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#C097B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c784fa;
/* rgb */ color: rgb(199, 132, 250);
/* oklch */ color: oklch(72.8% 0.176 308.8);
Tailwind
colors: {
  custom: {
    50: '#daa9fc',
    500: '#c784fa',
    950: '#000000',
  },
}
SCSS
$custom: #c784fa;
$custom-light: #daa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c784fa",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 274.068,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.17647,
    "h": 308.8
  },
  "luminance": 0.35547
}

Semantic roles & 50–950 ramp

primary
#C784FA
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C784FA

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

Preview Lab → · Contrast checker → · Palette generator →

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