#8374DF#8374DF

#8374DF is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.2% C 0.157 H 287.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8374DF
RGBrgb(131, 116, 223)
HSLhsl(248, 63%, 66%)
HSVhsv(248, 48%, 87%)
CMYKcmyk(41.3%, 48%, 0%, 12.5%)
CIE-LABlab(54.70, 31.55, -52.86)
CIE-LCHlch(54.70, 61.56, 300.83°)
OKLaboklab(62.22% 0.0468 -0.1497)
OKLCHoklch(62.22% 0.157 287.4)
XYZxyz(28.9210, 22.6428, 72.6444)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374DF #D0DF74
analogous
#749BDF #8374DF #B974DF
triadic
#8374DF #DF8374 #74DF83
tetradic
#8374DF #DF749B #D0DF74 #74DFB9
square
#8374DF #DF749B #D0DF74 #74DFB9
split-complementary
#8374DF #DFB974 #9BDF74
monochromatic
#3C29B0 #5742D4 #8374DF #AFA6EA #DCD7F6

Accessibility & contrast

On white

3.80
#8374DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8374DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374DF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374DF#FFFFFF#000000##000000
##8374DF1.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)
#4986E3
Deuteranopia (green-blind)
#4880DD
Tritanopia (blue-blind)
#688A9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8374df;
/* rgb */ color: rgb(131, 116, 223);
/* oklch */ color: oklch(62.2% 0.157 287.4);
Tailwind
colors: {
  custom: {
    50: '#ab9ce9',
    500: '#8374df',
    950: '#000000',
  },
}
SCSS
$custom: #8374df;
$custom-light: #ab9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8374df",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 248.411,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62215,
    "c": 0.15689,
    "h": 287.4
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#8374DF
secondary
#E4E9C6
accent
#CA1BB2
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8374DF

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

Preview Lab → · Contrast checker → · Palette generator →

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