#8378F2#8378F2

#8378F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.1% C 0.177 H 284.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8378F2
RGBrgb(131, 120, 242)
HSLhsl(245, 82%, 71%)
HSVhsv(245, 50%, 95%)
CMYKcmyk(45.9%, 50.4%, 0%, 5.1%)
CIE-LABlab(56.75, 34.62, -60.20)
CIE-LCHlch(56.75, 69.44, 299.90°)
OKLaboklab(64.11% 0.0437 -0.1713)
OKLCHoklch(64.11% 0.177 284.3)
XYZxyz(32.0988, 24.6676, 87.0572)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8378F2 #E7F278
analogous
#78AAF2 #8378F2 #C078F2
triadic
#8378F2 #F28378 #78F283
tetradic
#8378F2 #F278AA #E7F278 #78F2C0
square
#8378F2 #F278AA #E7F278 #78F2C0
split-complementary
#8378F2 #F2C078 #AAF278
monochromatic
#2715DB #5040ED #8378F2 #B6B0F7 #E5E3FC

Accessibility & contrast

On white

3.54
#8378F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8378F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8378F2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8378F2#FFFFFF#000000##000000
##8378F21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#5E92AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8378f2;
/* rgb */ color: rgb(131, 120, 242);
/* oklch */ color: oklch(64.1% 0.177 284.3);
Tailwind
colors: {
  custom: {
    50: '#ad9ff7',
    500: '#8378f2',
    950: '#000000',
  },
}
SCSS
$custom: #8378f2;
$custom-light: #ad9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8378f2",
  "rgb": {
    "r": 131,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 245.41,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64105,
    "c": 0.17675,
    "h": 284.3
  },
  "luminance": 0.24669
}

Semantic roles & 50–950 ramp

primary
#8378F2
secondary
#F0F3D3
accent
#DF07CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8378F2

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

Preview Lab → · Contrast checker → · Palette generator →

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