#C783EA#C783EA

#C783EA is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.8% C 0.160 H 313.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C783EA
RGBrgb(199, 131, 234)
HSLhsl(280, 71%, 72%)
HSVhsv(280, 44%, 92%)
CMYKcmyk(15%, 44%, 0%, 8.2%)
CIE-LABlab(65.21, 43.98, -41.94)
CIE-LCHlch(65.21, 60.77, 316.36°)
OKLaboklab(71.81% 0.1098 -0.1163)
OKLCHoklch(71.81% 0.16 313.3)
XYZxyz(46.5183, 34.3162, 81.9991)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C783EA #A6EA83
analogous
#9483EA #C783EA #EA83D9
triadic
#C783EA #EAC783 #83EAC7
tetradic
#C783EA #EA9483 #A6EA83 #83D9EA
square
#C783EA #EA9483 #A6EA83 #83D9EA
split-complementary
#C783EA #D9EA83 #83EA94
monochromatic
#9523CF #AF4FE1 #C783EA #DFB7F3 #F3E5FB

Accessibility & contrast

On white

2.67
#C783EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#C783EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C783EA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C783EA#FFFFFF#000000##000000
##C783EA1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#C492AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c783ea;
/* rgb */ color: rgb(199, 131, 234);
/* oklch */ color: oklch(71.8% 0.160 313.3);
Tailwind
colors: {
  custom: {
    50: '#daa8f1',
    500: '#c783ea',
    950: '#000000',
  },
}
SCSS
$custom: #c783ea;
$custom-light: #daa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c783ea",
  "rgb": {
    "r": 199,
    "g": 131,
    "b": 234
  },
  "hsl": {
    "h": 279.612,
    "s": 71.034,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.15994,
    "h": 313.3
  },
  "luminance": 0.34315
}

Semantic roles & 50–950 ramp

primary
#C783EA
secondary
#E0F2D7
accent
#D31254
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C783EA

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

Preview Lab → · Contrast checker → · Palette generator →

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