#C783DC#C783DC

#C783DC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.1% C 0.144 H 317.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C783DC
RGBrgb(199, 131, 220)
HSLhsl(286, 56%, 69%)
HSVhsv(286, 40%, 86%)
CMYKcmyk(9.5%, 40.5%, 0%, 13.7%)
CIE-LABlab(64.60, 41.09, -35.14)
CIE-LCHlch(64.60, 54.07, 319.47°)
OKLaboklab(71.15% 0.1072 -0.0967)
OKLCHoklch(71.15% 0.144 317.9)
XYZxyz(44.5860, 33.5433, 71.8221)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C783DC #98DC83
analogous
#9B83DC #C783DC #DC83C5
triadic
#C783DC #DCC783 #83DCC7
tetradic
#C783DC #DC9B83 #98DC83 #83C5DC
square
#C783DC #DC9B83 #98DC83 #83C5DC
split-complementary
#C783DC #C5DC83 #83DC9B
monochromatic
#9432B2 #B153CF #C783DC #DDB3E9 #F2E2F7

Accessibility & contrast

On white

2.72
#C783DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C783DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C783DC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C783DC#FFFFFF#000000##000000
##C783DC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#C78EA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c783dc;
/* rgb */ color: rgb(199, 131, 220);
/* oklch */ color: oklch(71.1% 0.144 317.9);
Tailwind
colors: {
  custom: {
    50: '#d9a8e7',
    500: '#c783dc',
    950: '#000000',
  },
}
SCSS
$custom: #c783dc;
$custom-light: #d9a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c783dc",
  "rgb": {
    "r": 199,
    "g": 131,
    "b": 220
  },
  "hsl": {
    "h": 285.843,
    "s": 55.975,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71147,
    "c": 0.14443,
    "h": 317.9
  },
  "luminance": 0.33542
}

Semantic roles & 50–950 ramp

primary
#C783DC
secondary
#D6EBD0
accent
#C42248
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C783DC

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

Preview Lab → · Contrast checker → · Palette generator →

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