#C784FC#C784FC

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

Color values

HEX#C784FC
RGBrgb(199, 132, 252)
HSLhsl(274, 95%, 75%)
HSVhsv(274, 48%, 99%)
CMYKcmyk(21%, 47.6%, 0%, 1.2%)
CIE-LABlab(66.27, 47.32, -50.17)
CIE-LCHlch(66.27, 68.97, 313.32°)
OKLaboklab(72.87% 0.1109 -0.1402)
OKLCHoklch(72.87% 0.179 308.4)
XYZxyz(49.3717, 35.6735, 96.3613)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C784FC #B9FC84
analogous
#8B84FC #C784FC #FC84F5
triadic
#C784FC #FCC784 #84FCC7
tetradic
#C784FC #FC8B84 #B9FC84 #84F5FC
square
#C784FC #FC8B84 #B9FC84 #84F5FC
split-complementary
#C784FC #F5FC84 #84FC8B
monochromatic
#910DF9 #AC48FB #C784FC #E2C0FD #F1E1FE

Accessibility & contrast

On white

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

On black

8.13
#C784FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C784FC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C784FC#FFFFFF#000000##000000
##C784FC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c784fc;
/* rgb */ color: rgb(199, 132, 252);
/* oklch */ color: oklch(72.9% 0.179 308.4);
Tailwind
colors: {
  custom: {
    50: '#daa9fe',
    500: '#c784fc',
    950: '#000000',
  },
}
SCSS
$custom: #c784fc;
$custom-light: #daa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c784fc",
  "rgb": {
    "r": 199,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 273.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72874,
    "c": 0.17876,
    "h": 308.4
  },
  "luminance": 0.35673
}

Semantic roles & 50–950 ramp

primary
#C784FC
secondary
#E4F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C784FC

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

Preview Lab → · Contrast checker → · Palette generator →

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