#8378CD#8378CD

#8378CD is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.126 H 288.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8378CD
RGBrgb(131, 120, 205)
HSLhsl(248, 46%, 64%)
HSVhsv(248, 41%, 80%)
CMYKcmyk(36.1%, 41.5%, 0%, 19.6%)
CIE-LABlab(54.73, 24.21, -42.66)
CIE-LCHlch(54.73, 49.05, 299.58°)
OKLaboklab(61.92% 0.0391 -0.1199)
OKLCHoklch(61.92% 0.126 288.1)
XYZxyz(27.0930, 22.6652, 60.6931)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8378CD #C2CD78
analogous
#7897CD #8378CD #AD78CD
triadic
#8378CD #CD8378 #78CD83
tetradic
#8378CD #CD7897 #C2CD78 #78CDAD
square
#8378CD #CD7897 #C2CD78 #78CDAD
split-complementary
#8378CD #CDAD78 #97CD78
monochromatic
#433794 #5A4BBC #8378CD #ACA5DE #D5D1EE

Accessibility & contrast

On white

3.80
#8378CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8378CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8378CD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8378CD#FFFFFF#000000##000000
##8378CD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#708899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8378cd;
/* rgb */ color: rgb(131, 120, 205);
/* oklch */ color: oklch(61.9% 0.126 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa9fdc',
    500: '#8378cd',
    950: '#000000',
  },
}
SCSS
$custom: #8378cd;
$custom-light: #aa9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8378cd",
  "rgb": {
    "r": 131,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 247.765,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.12612,
    "h": 288.1
  },
  "luminance": 0.22666
}

Semantic roles & 50–950 ramp

primary
#8378CD
secondary
#DCDFC1
accent
#B92CA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8378CD

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

Preview Lab → · Contrast checker → · Palette generator →

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