#8B78CA#8B78CA

#8B78CA is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.4% C 0.122 H 293.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8B78CA
RGBrgb(139, 120, 202)
HSLhsl(254, 44%, 63%)
HSVhsv(254, 41%, 79%)
CMYKcmyk(31.2%, 40.6%, 0%, 20.8%)
CIE-LABlab(55.26, 25.61, -40.06)
CIE-LCHlch(55.26, 47.55, 302.59°)
OKLaboklab(62.45% 0.0481 -0.1122)
OKLCHoklch(62.45% 0.122 293.2)
XYZxyz(28.0219, 23.1857, 58.8646)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78CA #B7CA78
analogous
#788ECA #8B78CA #B478CA
triadic
#8B78CA #CA8B78 #78CA8B
tetradic
#8B78CA #CA788E #B7CA78 #78CAB4
square
#8B78CA #CA788E #B7CA78 #78CAB4
split-complementary
#8B78CA #CAB478 #8ECA78
monochromatic
#4C388F #654CB9 #8B78CA #B1A4DB #D7D0ED

Accessibility & contrast

On white

3.73
#8B78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8B78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78CA#FFFFFF#000000##000000
##8B78CA1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b78ca;
/* rgb */ color: rgb(139, 120, 202);
/* oklch */ color: oklch(62.4% 0.122 293.2);
Tailwind
colors: {
  custom: {
    50: '#af9fda',
    500: '#8b78ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b78ca;
$custom-light: #af9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78ca",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 253.902,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62448,
    "c": 0.12203,
    "h": 293.2
  },
  "luminance": 0.23186
}

Semantic roles & 50–950 ramp

primary
#8B78CA
secondary
#D7DEC0
accent
#B72F97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8B78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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