#8D78CA#8D78CA

#8D78CA is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.6% C 0.122 H 294.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D78CA
RGBrgb(141, 120, 202)
HSLhsl(255, 44%, 63%)
HSVhsv(255, 41%, 79%)
CMYKcmyk(30.2%, 40.6%, 0%, 20.8%)
CIE-LABlab(55.44, 26.17, -39.77)
CIE-LCHlch(55.44, 47.61, 303.35°)
OKLaboklab(62.63% 0.0504 -0.1113)
OKLCHoklch(62.63% 0.122 294.4)
XYZxyz(28.3590, 23.3595, 58.8804)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78CA #B5CA78
analogous
#788CCA #8D78CA #B678CA
triadic
#8D78CA #CA8D78 #78CA8D
tetradic
#8D78CA #CA788C #B5CA78 #78CAB6
square
#8D78CA #CA788C #B5CA78 #78CAB6
split-complementary
#8D78CA #CAB678 #8CCA78
monochromatic
#4F388F #684CB9 #8D78CA #B2A4DB #D7D0ED

Accessibility & contrast

On white

3.70
#8D78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8D78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78CA#FFFFFF#000000##000000
##8D78CA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#6384C8
Tritanopia (blue-blind)
#808797
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d78ca;
/* rgb */ color: rgb(141, 120, 202);
/* oklch */ color: oklch(62.6% 0.122 294.4);
Tailwind
colors: {
  custom: {
    50: '#b09fda',
    500: '#8d78ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d78ca;
$custom-light: #b09fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78ca",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 255.366,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.12218,
    "h": 294.4
  },
  "luminance": 0.2336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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