#8370E4#8370E4

#8370E4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.169 H 287.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8370E4
RGBrgb(131, 112, 228)
HSLhsl(250, 68%, 67%)
HSVhsv(250, 51%, 89%)
CMYKcmyk(42.5%, 50.9%, 0%, 10.6%)
CIE-LABlab(54.04, 35.30, -56.72)
CIE-LCHlch(54.04, 66.81, 301.89°)
OKLaboklab(61.81% 0.0521 -0.1611)
OKLCHoklch(61.81% 0.169 287.9)
XYZxyz(29.1539, 22.0140, 76.0968)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370E4 #D1E470
analogous
#7097E4 #8370E4 #BD70E4
triadic
#8370E4 #E48370 #70E483
tetradic
#8370E4 #E47097 #D1E470 #70E4BD
square
#8370E4 #E47097 #D1E470 #70E4BD
split-complementary
#8370E4 #E4BD70 #97E470
monochromatic
#3B23B7 #563DDA #8370E4 #B0A3EE #DCD7F7

Accessibility & contrast

On white

3.89
#8370E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8370E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370E4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370E4#FFFFFF#000000##000000
##8370E41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E8
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#66889F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8370e4;
/* rgb */ color: rgb(131, 112, 228);
/* oklch */ color: oklch(61.8% 0.169 287.9);
Tailwind
colors: {
  custom: {
    50: '#ac99ed',
    500: '#8370e4',
    950: '#000000',
  },
}
SCSS
$custom: #8370e4;
$custom-light: #ac99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8370e4",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 249.828,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.16931,
    "h": 287.9
  },
  "luminance": 0.22015
}

Semantic roles & 50–950 ramp

primary
#8370E4
secondary
#E4EBC5
accent
#D015B2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8370E4

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

Preview Lab → · Contrast checker → · Palette generator →

#8370E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva