#C782EA#C782EA

#C782EA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.7% C 0.162 H 313.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#C782EA
RGBrgb(199, 130, 234)
HSLhsl(280, 71%, 71%)
HSVhsv(280, 44%, 92%)
CMYKcmyk(15%, 44.4%, 0%, 8.2%)
CIE-LABlab(65.00, 44.51, -42.27)
CIE-LCHlch(65.00, 61.38, 316.48°)
OKLaboklab(71.65% 0.1112 -0.1173)
OKLCHoklch(71.65% 0.162 313.5)
XYZxyz(46.3846, 34.0489, 81.9546)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C782EA #A5EA82
analogous
#9382EA #C782EA #EA82D9
triadic
#C782EA #EAC782 #82EAC7
tetradic
#C782EA #EA9382 #A5EA82 #82D9EA
square
#C782EA #EA9382 #A5EA82 #82D9EA
split-complementary
#C782EA #D9EA82 #82EA93
monochromatic
#9523CF #B04EE1 #C782EA #DEB6F3 #F3E5FB

Accessibility & contrast

On white

2.69
#C782EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#C782EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C782EA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C782EA#FFFFFF#000000##000000
##C782EA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#809FE7
Tritanopia (blue-blind)
#C491AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c782ea;
/* rgb */ color: rgb(199, 130, 234);
/* oklch */ color: oklch(71.7% 0.162 313.5);
Tailwind
colors: {
  custom: {
    50: '#daa8f1',
    500: '#c782ea',
    950: '#000000',
  },
}
SCSS
$custom: #c782ea;
$custom-light: #daa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c782ea",
  "rgb": {
    "r": 199,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 279.808,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71651,
    "c": 0.16159,
    "h": 313.5
  },
  "luminance": 0.34048
}

Semantic roles & 50–950 ramp

primary
#C782EA
secondary
#DFF1D6
accent
#D31253
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C782EA

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

Preview Lab → · Contrast checker → · Palette generator →

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