#C784F9#C784F9

#C784F9 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.7% C 0.175 H 309.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#C784F9
RGBrgb(199, 132, 249)
HSLhsl(274, 91%, 75%)
HSVhsv(274, 47%, 98%)
CMYKcmyk(20.1%, 47%, 0%, 2.4%)
CIE-LABlab(66.12, 46.66, -48.76)
CIE-LCHlch(66.12, 67.49, 313.74°)
OKLaboklab(72.72% 0.1106 -0.1361)
OKLCHoklch(72.72% 0.175 309.1)
XYZxyz(48.9001, 35.4849, 93.8774)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784F9 #B6F984
analogous
#8D84F9 #C784F9 #F984F1
triadic
#C784F9 #F9C784 #84F9C7
tetradic
#C784F9 #F98D84 #B6F984 #84F1F9
square
#C784F9 #F98D84 #B6F984 #84F1F9
split-complementary
#C784F9 #F1F984 #84F98D
monochromatic
#920FF3 #AC4AF6 #C784F9 #E2BEFC #F2E2FE

Accessibility & contrast

On white

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

On black

8.10
#C784F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784F9
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784F9#FFFFFF#000000##000000
##C784F91.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#C097B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c784f9;
/* rgb */ color: rgb(199, 132, 249);
/* oklch */ color: oklch(72.7% 0.175 309.1);
Tailwind
colors: {
  custom: {
    50: '#daa9fc',
    500: '#c784f9',
    950: '#000000',
  },
}
SCSS
$custom: #c784f9;
$custom-light: #daa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c784f9",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 274.359,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72719,
    "c": 0.17533,
    "h": 309.1
  },
  "luminance": 0.35484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C784F9

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

Preview Lab → · Contrast checker → · Palette generator →

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