#C784FB#C784FB

#C784FB is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.8% C 0.178 H 308.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#C784FB
RGBrgb(199, 132, 251)
HSLhsl(274, 94%, 75%)
HSVhsv(274, 47%, 98%)
CMYKcmyk(20.7%, 47.4%, 0%, 1.6%)
CIE-LABlab(66.22, 47.10, -49.70)
CIE-LCHlch(66.22, 68.47, 313.46°)
OKLaboklab(72.82% 0.1108 -0.1388)
OKLCHoklch(72.82% 0.178 308.6)
XYZxyz(49.2137, 35.6103, 95.5290)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784FB #B8FB84
analogous
#8C84FB #C784FB #FB84F3
triadic
#C784FB #FBC784 #84FBC7
tetradic
#C784FB #FB8C84 #B8FB84 #84F3FB
square
#C784FB #FB8C84 #B8FB84 #84F3FB
split-complementary
#C784FB #F3FB84 #84FB8C
monochromatic
#910DF7 #AC49F9 #C784FB #E2BFFD #F2E1FE

Accessibility & contrast

On white

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

On black

8.12
#C784FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784FB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784FB#FFFFFF#000000##000000
##C784FB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#C098B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c784fb;
/* rgb */ color: rgb(199, 132, 251);
/* oklch */ color: oklch(72.8% 0.178 308.6);
Tailwind
colors: {
  custom: {
    50: '#daa9fd',
    500: '#c784fb',
    950: '#000000',
  },
}
SCSS
$custom: #c784fb;
$custom-light: #daa9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c784fb",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 273.782,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72822,
    "c": 0.17762,
    "h": 308.6
  },
  "luminance": 0.3561
}

Semantic roles & 50–950 ramp

primary
#C784FB
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C784FB

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

Preview Lab → · Contrast checker → · Palette generator →

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