#C785EA#C785EA

#C785EA is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.157 H 313.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#C785EA
RGBrgb(199, 133, 234)
HSLhsl(279, 71%, 72%)
HSVhsv(279, 43%, 92%)
CMYKcmyk(15%, 43.2%, 0%, 8.2%)
CIE-LABlab(65.64, 42.91, -41.27)
CIE-LCHlch(65.64, 59.53, 316.11°)
OKLaboklab(72.13% 0.107 -0.1144)
OKLCHoklch(72.13% 0.157 313.1)
XYZxyz(46.7895, 34.8587, 82.0895)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C785EA #A8EA85
analogous
#9585EA #C785EA #EA85DA
triadic
#C785EA #EAC785 #85EAC7
tetradic
#C785EA #EA9585 #A8EA85 #85DAEA
square
#C785EA #EA9585 #A8EA85 #85DAEA
split-complementary
#C785EA #DAEA85 #85EA95
monochromatic
#9524D1 #AF51E1 #C785EA #DFB9F3 #F3E5FB

Accessibility & contrast

On white

2.63
#C785EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#C785EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C785EA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C785EA#FFFFFF#000000##000000
##C785EA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#C494AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c785ea;
/* rgb */ color: rgb(199, 133, 234);
/* oklch */ color: oklch(72.1% 0.157 313.1);
Tailwind
colors: {
  custom: {
    50: '#d9aaf1',
    500: '#c785ea',
    950: '#000000',
  },
}
SCSS
$custom: #c785ea;
$custom-light: #d9aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c785ea",
  "rgb": {
    "r": 199,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 279.208,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72128,
    "c": 0.15662,
    "h": 313.1
  },
  "luminance": 0.34858
}

Semantic roles & 50–950 ramp

primary
#C785EA
secondary
#E2F2D9
accent
#D31355
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C785EA

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

Preview Lab → · Contrast checker → · Palette generator →

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