#C378ED#C378ED

#C378ED is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.179 H 312.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C378ED
RGBrgb(195, 120, 237)
HSLhsl(278, 76%, 70%)
HSVhsv(278, 49%, 93%)
CMYKcmyk(17.7%, 49.4%, 0%, 7.1%)
CIE-LABlab(62.63, 49.32, -47.69)
CIE-LCHlch(62.63, 68.61, 315.97°)
OKLaboklab(69.84% 0.1205 -0.133)
OKLCHoklch(69.84% 0.18 312.2)
XYZxyz(44.5055, 31.1504, 83.7725)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378ED #A2ED78
analogous
#8978ED #C378ED #ED78DC
triadic
#C378ED #EDC378 #78EDC3
tetradic
#C378ED #ED8978 #A2ED78 #78DCED
square
#C378ED #ED8978 #A2ED78 #78DCED
split-complementary
#C378ED #DCED78 #78ED89
monochromatic
#8F1CCF #AB42E6 #C378ED #DBAEF4 #F3E4FB

Accessibility & contrast

On white

2.90
#C378ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#C378ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378ED
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378ED#FFFFFF#000000##000000
##C378ED1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F1
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#BF8BA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c378ed;
/* rgb */ color: rgb(195, 120, 237);
/* oklch */ color: oklch(69.8% 0.179 312.2);
Tailwind
colors: {
  custom: {
    50: '#d7a1f3',
    500: '#c378ed',
    950: '#000000',
  },
}
SCSS
$custom: #c378ed;
$custom-light: #d7a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c378ed",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 278.462,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.69836,
    "c": 0.1795,
    "h": 312.2
  },
  "luminance": 0.31149
}

Semantic roles & 50–950 ramp

primary
#C378ED
secondary
#DCF1D0
accent
#D90D56
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378ED

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

Preview Lab → · Contrast checker → · Palette generator →

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