#C784FD#C784FD

#C784FD is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.9% C 0.180 H 308.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#C784FD
RGBrgb(199, 132, 253)
HSLhsl(273, 97%, 75%)
HSVhsv(273, 48%, 99%)
CMYKcmyk(21.3%, 47.8%, 0%, 0.8%)
CIE-LABlab(66.32, 47.54, -50.64)
CIE-LCHlch(66.32, 69.46, 313.19°)
OKLaboklab(72.93% 0.111 -0.1416)
OKLCHoklch(72.93% 0.18 308.1)
XYZxyz(49.5306, 35.7371, 97.1981)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784FD #BAFD84
analogous
#8A84FD #C784FD #FD84F7
triadic
#C784FD #FDC784 #84FDC7
tetradic
#C784FD #FD8A84 #BAFD84 #84F7FD
square
#C784FD #FD8A84 #BAFD84 #84F7FD
split-complementary
#C784FD #F7FD84 #84FD8A
monochromatic
#900CFB #AC48FC #C784FD #E2C0FE #F1E1FF

Accessibility & contrast

On white

2.58
#C784FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#C784FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784FD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784FD#FFFFFF#000000##000000
##C784FD1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#BF98B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c784fd;
/* rgb */ color: rgb(199, 132, 253);
/* oklch */ color: oklch(72.9% 0.180 308.1);
Tailwind
colors: {
  custom: {
    50: '#daa9fe',
    500: '#c784fd',
    950: '#000000',
  },
}
SCSS
$custom: #c784fd;
$custom-light: #daa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c784fd",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 253
  },
  "hsl": {
    "h": 273.223,
    "s": 96.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.17991,
    "h": 308.1
  },
  "luminance": 0.35736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C784FD

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

Preview Lab → · Contrast checker → · Palette generator →

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