#C78FEE#C78FEE

#C78FEE is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.0% C 0.145 H 310.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C78FEE
RGBrgb(199, 143, 238)
HSLhsl(275, 74%, 75%)
HSVhsv(275, 40%, 93%)
CMYKcmyk(16.4%, 39.9%, 0%, 6.7%)
CIE-LABlab(67.99, 38.35, -39.79)
CIE-LCHlch(67.99, 55.27, 313.94°)
OKLaboklab(73.95% 0.0936 -0.1102)
OKLCHoklch(73.95% 0.145 310.4)
XYZxyz(48.8055, 37.9608, 85.6284)
Luminance0.3796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78FEE #B6EE8F
analogous
#988FEE #C78FEE #EE8FE6
triadic
#C78FEE #EEC78F #8FEEC7
tetradic
#C78FEE #EE988F #B6EE8F #8FE6EE
square
#C78FEE #EE988F #B6EE8F #8FE6EE
split-complementary
#C78FEE #E6EE8F #8FEE98
monochromatic
#9225DE #AC5AE6 #C78FEE #E2C4F6 #F2E4FB

Accessibility & contrast

On white

2.44
#C78FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C78FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78FEE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78FEE#FFFFFF#000000##000000
##C78FEE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#89A7EB
Tritanopia (blue-blind)
#C39DB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c78fee;
/* rgb */ color: rgb(199, 143, 238);
/* oklch */ color: oklch(74.0% 0.145 310.4);
Tailwind
colors: {
  custom: {
    50: '#d9b0f4',
    500: '#c78fee',
    950: '#000000',
  },
}
SCSS
$custom: #c78fee;
$custom-light: #d9b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c78fee",
  "rgb": {
    "r": 199,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 275.368,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73954,
    "c": 0.14461,
    "h": 310.4
  },
  "luminance": 0.3796
}

Semantic roles & 50–950 ramp

primary
#C78FEE
secondary
#E3F3D8
accent
#D61061
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #C78FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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