#8374EA#8374EA

#8374EA is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.9% C 0.172 H 286.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8374EA
RGBrgb(131, 116, 234)
HSLhsl(248, 74%, 69%)
HSVhsv(248, 50%, 92%)
CMYKcmyk(44%, 50.4%, 0%, 8.2%)
CIE-LABlab(55.33, 34.66, -58.01)
CIE-LCHlch(55.33, 67.58, 300.86°)
OKLaboklab(62.89% 0.0478 -0.1649)
OKLCHoklch(62.89% 0.172 286.2)
XYZxyz(30.4525, 23.2554, 80.7101)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374EA #DBEA74
analogous
#74A0EA #8374EA #BE74EA
triadic
#8374EA #EA8374 #74EA83
tetradic
#8374EA #EA74A0 #DBEA74 #74EABE
square
#8374EA #EA74A0 #DBEA74 #74EABE
split-complementary
#8374EA #EABE74 #A0EA74
monochromatic
#331EC6 #543FE2 #8374EA #B2A9F2 #E2DEFA

Accessibility & contrast

On white

3.72
#8374EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8374EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374EA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374EA#FFFFFF#000000##000000
##8374EA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#638DA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8374ea;
/* rgb */ color: rgb(131, 116, 234);
/* oklch */ color: oklch(62.9% 0.172 286.2);
Tailwind
colors: {
  custom: {
    50: '#ad9cf1',
    500: '#8374ea',
    950: '#000000',
  },
}
SCSS
$custom: #8374ea;
$custom-light: #ad9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8374ea",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 247.627,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62893,
    "c": 0.17165,
    "h": 286.2
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#8374EA
secondary
#EAEFCB
accent
#D610BD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8374EA

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

Preview Lab → · Contrast checker → · Palette generator →

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