#8374DA#8374DA

#8374DA is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.9% C 0.150 H 287.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8374DA
RGBrgb(131, 116, 218)
HSLhsl(249, 58%, 65%)
HSVhsv(249, 47%, 85%)
CMYKcmyk(39.9%, 46.8%, 0%, 14.5%)
CIE-LABlab(54.42, 30.15, -50.49)
CIE-LCHlch(54.42, 58.81, 300.85°)
OKLaboklab(61.92% 0.0463 -0.1428)
OKLCHoklch(61.92% 0.15 287.9)
XYZxyz(28.2568, 22.3771, 69.1465)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374DA #CBDA74
analogous
#7498DA #8374DA #B674DA
triadic
#8374DA #DA8374 #74DA83
tetradic
#8374DA #DA7498 #CBDA74 #74DAB6
square
#8374DA #DA7498 #CBDA74 #74DAB6
split-complementary
#8374DA #DAB674 #98DA74
monochromatic
#3F2CA7 #5844CD #8374DA #AEA4E7 #D9D5F4

Accessibility & contrast

On white

3.84
#8374DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8374DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374DA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374DA#FFFFFF#000000##000000
##8374DA1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DE
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#6B899D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8374da;
/* rgb */ color: rgb(131, 116, 218);
/* oklch */ color: oklch(61.9% 0.150 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab9ce6',
    500: '#8374da',
    950: '#000000',
  },
}
SCSS
$custom: #8374da;
$custom-light: #ab9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8374da",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 248.824,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.15009,
    "h": 287.9
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#8374DA
secondary
#E1E6C4
accent
#C620AD
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8374DA

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

Preview Lab → · Contrast checker → · Palette generator →

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