#C78CD2#C78CD2

#C78CD2 is a light, moderate purple. Relative luminance 0.356; OKLCH L 72.2% C 0.118 H 321.1°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C78CD2
RGBrgb(199, 140, 210)
HSLhsl(291, 44%, 69%)
HSVhsv(291, 33%, 82%)
CMYKcmyk(5.2%, 33.3%, 0%, 17.6%)
CIE-LABlab(66.18, 34.22, -27.13)
CIE-LCHlch(66.18, 43.67, 321.60°)
OKLaboklab(72.21% 0.0917 -0.074)
OKLCHoklch(72.21% 0.118 321.1)
XYZxyz(44.5627, 35.5527, 65.4752)
Luminance0.3555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78CD2 #97D28C
analogous
#A48CD2 #C78CD2 #D28CBA
triadic
#C78CD2 #D2C78C #8CD2C7
tetradic
#C78CD2 #D2A48C #97D28C #8CBAD2
square
#C78CD2 #D2A48C #97D28C #8CBAD2
split-complementary
#C78CD2 #BAD28C #8CD2A4
monochromatic
#9440A4 #B260C1 #C78CD2 #DCB8E3 #F2E4F4

Accessibility & contrast

On white

2.59
#C78CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C78CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78CD2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78CD2#FFFFFF#000000##000000
##C78CD21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD5
Deuteranopia (green-blind)
#92A3D0
Tritanopia (blue-blind)
#C994A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c78cd2;
/* rgb */ color: rgb(199, 140, 210);
/* oklch */ color: oklch(72.2% 0.118 321.1);
Tailwind
colors: {
  custom: {
    50: '#d9aee0',
    500: '#c78cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c78cd2;
$custom-light: #d9aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#c78cd2",
  "rgb": {
    "r": 199,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 290.571,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.11786,
    "h": 321.1
  },
  "luminance": 0.35551
}

Semantic roles & 50–950 ramp

primary
#C78CD2
secondary
#D6E7D2
accent
#B72F44
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C78CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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