#8D78E2#8D78E2

#8D78E2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.0% C 0.155 H 290.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8D78E2
RGBrgb(141, 120, 226)
HSLhsl(252, 65%, 68%)
HSVhsv(252, 47%, 89%)
CMYKcmyk(37.6%, 46.9%, 0%, 11.4%)
CIE-LABlab(56.67, 32.51, -51.36)
CIE-LCHlch(56.67, 60.78, 302.33°)
OKLaboklab(63.95% 0.0541 -0.1451)
OKLCHoklch(63.95% 0.155 290.4)
XYZxyz(31.4247, 24.5858, 75.0266)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78E2 #CDE278
analogous
#7898E2 #8D78E2 #C278E2
triadic
#8D78E2 #E28D78 #78E28D
tetradic
#8D78E2 #E27898 #CDE278 #78E2C2
square
#8D78E2 #E27898 #CDE278 #78E2C2
split-complementary
#8D78E2 #E2C278 #98E278
monochromatic
#4428B8 #6246D7 #8D78E2 #B8AAED #E2DDF8

Accessibility & contrast

On white

3.55
#8D78E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8D78E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78E2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78E2#FFFFFF#000000##000000
##8D78E21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#5386E0
Tritanopia (blue-blind)
#778DA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d78e2;
/* rgb */ color: rgb(141, 120, 226);
/* oklch */ color: oklch(64.0% 0.155 290.4);
Tailwind
colors: {
  custom: {
    50: '#b29feb',
    500: '#8d78e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d78e2;
$custom-light: #b29feb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78e2",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 251.887,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63954,
    "c": 0.15484,
    "h": 290.4
  },
  "luminance": 0.24587
}

Semantic roles & 50–950 ramp

primary
#8D78E2
secondary
#E5EBCB
accent
#CC19A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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