#C783DA#C783DA

#C783DA is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.1% C 0.142 H 318.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C783DA
RGBrgb(199, 131, 218)
HSLhsl(287, 54%, 68%)
HSVhsv(287, 40%, 85%)
CMYKcmyk(8.7%, 39.9%, 0%, 14.5%)
CIE-LABlab(64.51, 40.69, -34.15)
CIE-LCHlch(64.51, 53.12, 319.99°)
OKLaboklab(71.06% 0.1068 -0.0939)
OKLCHoklch(71.06% 0.142 318.7)
XYZxyz(44.3227, 33.4380, 70.4355)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C783DA #96DA83
analogous
#9B83DA #C783DA #DA83C1
triadic
#C783DA #DAC783 #83DAC7
tetradic
#C783DA #DA9B83 #96DA83 #83C1DA
square
#C783DA #DA9B83 #96DA83 #83C1DA
split-complementary
#C783DA #C1DA83 #83DA9B
monochromatic
#9434AF #B254CC #C783DA #DCB2E8 #F2E1F6

Accessibility & contrast

On white

2.73
#C783DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C783DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C783DA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C783DA#FFFFFF#000000##000000
##C783DA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DD
Deuteranopia (green-blind)
#889FD7
Tritanopia (blue-blind)
#C78EA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c783da;
/* rgb */ color: rgb(199, 131, 218);
/* oklch */ color: oklch(71.1% 0.142 318.7);
Tailwind
colors: {
  custom: {
    50: '#d9a8e5',
    500: '#c783da',
    950: '#000000',
  },
}
SCSS
$custom: #c783da;
$custom-light: #d9a8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c783da",
  "rgb": {
    "r": 199,
    "g": 131,
    "b": 218
  },
  "hsl": {
    "h": 286.897,
    "s": 54.037,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.14226,
    "h": 318.7
  },
  "luminance": 0.33437
}

Semantic roles & 50–950 ramp

primary
#C783DA
secondary
#D5E9CF
accent
#C22446
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C783DA

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

Preview Lab → · Contrast checker → · Palette generator →

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