#8370EF#8370EF

#8370EF is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.5% C 0.184 H 286.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8370EF
RGBrgb(131, 112, 239)
HSLhsl(249, 80%, 69%)
HSVhsv(249, 53%, 94%)
CMYKcmyk(45.2%, 53.1%, 0%, 6.3%)
CIE-LABlab(54.70, 38.41, -61.81)
CIE-LCHlch(54.70, 72.78, 301.86°)
OKLaboklab(62.52% 0.0527 -0.1761)
OKLCHoklch(62.52% 0.184 286.7)
XYZxyz(30.7297, 22.6444, 84.3963)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370EF #DCEF70
analogous
#709DEF #8370EF #C370EF
triadic
#8370EF #EF8370 #70EF83
tetradic
#8370EF #EF709D #DCEF70 #70EFC3
square
#8370EF #EF709D #DCEF70 #70EFC3
split-complementary
#8370EF #EFC370 #9DEF70
monochromatic
#3217CE #5339E9 #8370EF #B3A7F5 #E2DEFB

Accessibility & contrast

On white

3.80
#8370EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8370EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370EF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370EF#FFFFFF#000000##000000
##8370EF1.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)
#2F86F3
Deuteranopia (green-blind)
#2D7FEC
Tritanopia (blue-blind)
#608CA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8370ef;
/* rgb */ color: rgb(131, 112, 239);
/* oklch */ color: oklch(62.5% 0.184 286.7);
Tailwind
colors: {
  custom: {
    50: '#ad99f5',
    500: '#8370ef',
    950: '#000000',
  },
}
SCSS
$custom: #8370ef;
$custom-light: #ad99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8370ef",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 248.976,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.18377,
    "h": 286.7
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

primary
#8370EF
secondary
#EBF0CB
accent
#DC09BD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8370EF

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

Preview Lab → · Contrast checker → · Palette generator →

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