#8374EB#8374EB

#8374EB is a light, vivid blue. Relative luminance 0.233; OKLCH L 63.0% C 0.173 H 286.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8374EB
RGBrgb(131, 116, 235)
HSLhsl(248, 75%, 69%)
HSVhsv(248, 51%, 92%)
CMYKcmyk(44.3%, 50.6%, 0%, 7.8%)
CIE-LABlab(55.39, 34.94, -58.48)
CIE-LCHlch(55.39, 68.12, 300.86°)
OKLaboklab(62.96% 0.0479 -0.1662)
OKLCHoklch(62.96% 0.173 286.1)
XYZxyz(30.5965, 23.3130, 81.4689)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374EB #DCEB74
analogous
#74A1EB #8374EB #BF74EB
triadic
#8374EB #EB8374 #74EB83
tetradic
#8374EB #EB74A1 #DCEB74 #74EBBF
square
#8374EB #EB74A1 #DCEB74 #74EBBF
split-complementary
#8374EB #EBBF74 #A1EB74
monochromatic
#321DC8 #533EE3 #8374EB #B3AAF3 #E2DFFA

Accessibility & contrast

On white

3.71
#8374EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8374EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374EB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374EB#FFFFFF#000000##000000
##8374EB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#628DA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8374eb;
/* rgb */ color: rgb(131, 116, 235);
/* oklch */ color: oklch(63.0% 0.173 286.1);
Tailwind
colors: {
  custom: {
    50: '#ad9cf2',
    500: '#8374eb',
    950: '#000000',
  },
}
SCSS
$custom: #8374eb;
$custom-light: #ad9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8374eb",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 247.563,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62956,
    "c": 0.17298,
    "h": 286.1
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#8374EB
secondary
#EBEFCC
accent
#D70FBE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8374EB

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

Preview Lab → · Contrast checker → · Palette generator →

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