#C784F0#C784F0

#C784F0 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.3% C 0.165 H 311.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#C784F0
RGBrgb(199, 132, 240)
HSLhsl(277, 78%, 73%)
HSVhsv(277, 45%, 94%)
CMYKcmyk(17.1%, 45%, 0%, 5.9%)
CIE-LABlab(65.70, 44.72, -44.49)
CIE-LCHlch(65.70, 63.07, 315.15°)
OKLaboklab(72.26% 0.1093 -0.1237)
OKLCHoklch(72.26% 0.165 311.5)
XYZxyz(47.5299, 34.9368, 86.6608)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784F0 #ADF084
analogous
#9184F0 #C784F0 #F084E3
triadic
#C784F0 #F0C784 #84F0C7
tetradic
#C784F0 #F09184 #ADF084 #84E3F0
square
#C784F0 #F09184 #ADF084 #84E3F0
split-complementary
#C784F0 #E3F084 #84F091
monochromatic
#941BDE #AE4DE9 #C784F0 #E0BBF7 #F3E4FC

Accessibility & contrast

On white

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

On black

7.99
#C784F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784F0
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784F0#FFFFFF#000000##000000
##C784F01.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#C395AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c784f0;
/* rgb */ color: rgb(199, 132, 240);
/* oklch */ color: oklch(72.3% 0.165 311.5);
Tailwind
colors: {
  custom: {
    50: '#daa9f5',
    500: '#c784f0',
    950: '#000000',
  },
}
SCSS
$custom: #c784f0;
$custom-light: #daa9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c784f0",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 240
  },
  "hsl": {
    "h": 277.222,
    "s": 78.261,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72263,
    "c": 0.16507,
    "h": 311.5
  },
  "luminance": 0.34936
}

Semantic roles & 50–950 ramp

primary
#C784F0
secondary
#E2F3D8
accent
#DB0B5A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #C784F0

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

Preview Lab → · Contrast checker → · Palette generator →

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