#8378EB#8378EB

#8378EB is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.7% C 0.167 H 284.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8378EB
RGBrgb(131, 120, 235)
HSLhsl(246, 74%, 70%)
HSVhsv(246, 49%, 92%)
CMYKcmyk(44.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(56.34, 32.60, -56.96)
CIE-LCHlch(56.34, 65.63, 299.79°)
OKLaboklab(63.67% 0.0432 -0.1617)
OKLCHoklch(63.67% 0.167 284.9)
XYZxyz(31.0676, 24.2551, 81.6259)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8378EB #E0EB78
analogous
#78A7EB #8378EB #BD78EB
triadic
#8378EB #EB8378 #78EB83
tetradic
#8378EB #EB78A7 #E0EB78 #78EBBD
square
#8378EB #EB78A7 #E0EB78 #78EBBD
split-complementary
#8378EB #EBBD78 #A7EB78
monochromatic
#2F1ECB #5243E3 #8378EB #B4ADF3 #E5E3FB

Accessibility & contrast

On white

3.59
#8378EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8378EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8378EB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8378EB#FFFFFF#000000##000000
##8378EB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#4384E8
Tritanopia (blue-blind)
#6290A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8378eb;
/* rgb */ color: rgb(131, 120, 235);
/* oklch */ color: oklch(63.7% 0.167 284.9);
Tailwind
colors: {
  custom: {
    50: '#ac9ff2',
    500: '#8378eb',
    950: '#000000',
  },
}
SCSS
$custom: #8378eb;
$custom-light: #ac9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8378eb",
  "rgb": {
    "r": 131,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 245.739,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63668,
    "c": 0.1674,
    "h": 284.9
  },
  "luminance": 0.24256
}

Semantic roles & 50–950 ramp

primary
#8378EB
secondary
#EDF0CF
accent
#D60FC3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8378EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8378EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva