#8378DC#8378DC

#8378DC is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.8% C 0.147 H 286.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8378DC
RGBrgb(131, 120, 220)
HSLhsl(247, 59%, 67%)
HSVhsv(247, 45%, 86%)
CMYKcmyk(40.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(55.51, 28.35, -49.89)
CIE-LCHlch(55.51, 57.39, 299.61°)
OKLaboklab(62.77% 0.0415 -0.141)
OKLCHoklch(62.77% 0.147 286.4)
XYZxyz(28.9912, 23.4245, 70.6901)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8378DC #D1DC78
analogous
#789FDC #8378DC #B578DC
triadic
#8378DC #DC8378 #78DC83
tetradic
#8378DC #DC789F #D1DC78 #78DCB5
square
#8378DC #DC789F #D1DC78 #78DCB5
split-complementary
#8378DC #DCB578 #9FDC78
monochromatic
#3B2DAD #5647CF #8378DC #B0A9E9 #DCD9F5

Accessibility & contrast

On white

3.69
#8378DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8378DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8378DC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8378DC#FFFFFF#000000##000000
##8378DC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#698C9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8378dc;
/* rgb */ color: rgb(131, 120, 220);
/* oklch */ color: oklch(62.8% 0.147 286.4);
Tailwind
colors: {
  custom: {
    50: '#ab9fe7',
    500: '#8378dc',
    950: '#000000',
  },
}
SCSS
$custom: #8378dc;
$custom-light: #ab9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8378dc",
  "rgb": {
    "r": 131,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 246.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62768,
    "c": 0.147,
    "h": 286.4
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

primary
#8378DC
secondary
#E4E8C8
accent
#C61FB4
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8378DC

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

Preview Lab → · Contrast checker → · Palette generator →

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