#8374F8#8374F8

#8374F8 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.8% C 0.190 H 284.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8374F8
RGBrgb(131, 116, 248)
HSLhsl(247, 90%, 71%)
HSVhsv(247, 53%, 97%)
CMYKcmyk(47.2%, 53.2%, 0%, 2.7%)
CIE-LABlab(56.18, 38.67, -64.44)
CIE-LCHlch(56.18, 75.16, 300.97°)
OKLaboklab(63.8% 0.0486 -0.1837)
OKLCHoklch(63.8% 0.19 284.8)
XYZxyz(32.5437, 24.0919, 91.7242)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374F8 #E9F874
analogous
#74A7F8 #8374F8 #C574F8
triadic
#8374F8 #F88374 #74F883
tetradic
#8374F8 #F874A7 #E9F874 #74F8C5
square
#8374F8 #F874A7 #E9F874 #74F8C5
split-complementary
#8374F8 #F8C574 #A7F874
monochromatic
#240CE6 #4F3AF5 #8374F8 #B7AEFB #E5E2FE

Accessibility & contrast

On white

3.61
#8374F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8374F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8374F8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8374F8#FFFFFF#000000##000000
##8374F81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8BFD
Deuteranopia (green-blind)
#2683F5
Tritanopia (blue-blind)
#5B91AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8374f8;
/* rgb */ color: rgb(131, 116, 248);
/* oklch */ color: oklch(63.8% 0.190 284.8);
Tailwind
colors: {
  custom: {
    50: '#ae9cfb',
    500: '#8374f8',
    950: '#000000',
  },
}
SCSS
$custom: #8374f8;
$custom-light: #ae9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8374f8",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 246.818,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63796,
    "c": 0.19006,
    "h": 284.8
  },
  "luminance": 0.24093
}

Semantic roles & 50–950 ramp

primary
#8374F8
secondary
#F1F5D3
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8374F8

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

Preview Lab → · Contrast checker → · Palette generator →

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