#8C78CA#8C78CA

#8C78CA is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.5% C 0.122 H 293.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8C78CA
RGBrgb(140, 120, 202)
HSLhsl(255, 44%, 63%)
HSVhsv(255, 41%, 79%)
CMYKcmyk(30.7%, 40.6%, 0%, 20.8%)
CIE-LABlab(55.35, 25.89, -39.91)
CIE-LCHlch(55.35, 47.58, 302.97°)
OKLaboklab(62.54% 0.0493 -0.1117)
OKLCHoklch(62.54% 0.122 293.8)
XYZxyz(28.1897, 23.2722, 58.8725)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C78CA #B6CA78
analogous
#788DCA #8C78CA #B578CA
triadic
#8C78CA #CA8C78 #78CA8C
tetradic
#8C78CA #CA788D #B6CA78 #78CAB5
square
#8C78CA #CA788D #B6CA78 #78CAB5
split-complementary
#8C78CA #CAB578 #8DCA78
monochromatic
#4E388F #674CB9 #8C78CA #B1A4DB #D7D0ED

Accessibility & contrast

On white

3.71
#8C78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8C78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C78CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C78CA#FFFFFF#000000##000000
##8C78CA1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CD
Deuteranopia (green-blind)
#6283C8
Tritanopia (blue-blind)
#7E8797
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8c78ca;
/* rgb */ color: rgb(140, 120, 202);
/* oklch */ color: oklch(62.5% 0.122 293.8);
Tailwind
colors: {
  custom: {
    50: '#b09fda',
    500: '#8c78ca',
    950: '#000000',
  },
}
SCSS
$custom: #8c78ca;
$custom-light: #b09fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8c78ca",
  "rgb": {
    "r": 140,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 254.634,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.1221,
    "h": 293.8
  },
  "luminance": 0.23273
}

Semantic roles & 50–950 ramp

primary
#8C78CA
secondary
#D6DEC0
accent
#B72F96
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8C78CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8C78CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva