#C783DB#C783DB

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

Color values

HEX#C783DB
RGBrgb(199, 131, 219)
HSLhsl(286, 55%, 69%)
HSVhsv(286, 40%, 86%)
CMYKcmyk(9.1%, 40.2%, 0%, 14.1%)
CIE-LABlab(64.56, 40.89, -34.65)
CIE-LCHlch(64.56, 53.59, 319.73°)
OKLaboklab(71.1% 0.107 -0.0953)
OKLCHoklch(71.1% 0.143 318.3)
XYZxyz(44.4539, 33.4905, 71.1267)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C783DB #97DB83
analogous
#9B83DB #C783DB #DB83C3
triadic
#C783DB #DBC783 #83DBC7
tetradic
#C783DB #DB9B83 #97DB83 #83C3DB
square
#C783DB #DB9B83 #97DB83 #83C3DB
split-complementary
#C783DB #C3DB83 #83DB9B
monochromatic
#9433B0 #B254CD #C783DB #DCB2E9 #F2E2F7

Accessibility & contrast

On white

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

On black

7.70
#C783DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C783DB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C783DB#FFFFFF#000000##000000
##C783DB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#879FD8
Tritanopia (blue-blind)
#C78EA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c783db;
/* rgb */ color: rgb(199, 131, 219);
/* oklch */ color: oklch(71.1% 0.143 318.3);
Tailwind
colors: {
  custom: {
    50: '#d9a8e6',
    500: '#c783db',
    950: '#000000',
  },
}
SCSS
$custom: #c783db;
$custom-light: #d9a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c783db",
  "rgb": {
    "r": 199,
    "g": 131,
    "b": 219
  },
  "hsl": {
    "h": 286.364,
    "s": 55,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71101,
    "c": 0.14334,
    "h": 318.3
  },
  "luminance": 0.33489
}

Semantic roles & 50–950 ramp

primary
#C783DB
secondary
#D6EAD0
accent
#C32347
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C783DB

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

Preview Lab → · Contrast checker → · Palette generator →

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