#8370EE#8370EE

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

Color values

HEX#8370EE
RGBrgb(131, 112, 238)
HSLhsl(249, 79%, 69%)
HSVhsv(249, 53%, 93%)
CMYKcmyk(45%, 52.9%, 0%, 6.7%)
CIE-LABlab(54.64, 38.13, -61.36)
CIE-LCHlch(54.64, 72.24, 301.86°)
OKLaboklab(62.45% 0.0527 -0.1747)
OKLCHoklch(62.45% 0.182 286.8)
XYZxyz(30.5824, 22.5854, 83.6204)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370EE #DBEE70
analogous
#709CEE #8370EE #C270EE
triadic
#8370EE #EE8370 #70EE83
tetradic
#8370EE #EE709C #DBEE70 #70EEC2
square
#8370EE #EE709C #DBEE70 #70EEC2
split-complementary
#8370EE #EEC270 #9CEE70
monochromatic
#3318CB #5439E7 #8370EE #B2A7F5 #E2DDFB

Accessibility & contrast

On white

3.81
#8370EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8370EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370EE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370EE#FFFFFF#000000##000000
##8370EE1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F2
Deuteranopia (green-blind)
#2F7FEB
Tritanopia (blue-blind)
#618BA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8370ee;
/* rgb */ color: rgb(131, 112, 238);
/* oklch */ color: oklch(62.5% 0.182 286.8);
Tailwind
colors: {
  custom: {
    50: '#ad99f4',
    500: '#8370ee',
    950: '#000000',
  },
}
SCSS
$custom: #8370ee;
$custom-light: #ad99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8370ee",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 249.048,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62454,
    "c": 0.18247,
    "h": 286.8
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#8370EE
secondary
#EAF0CA
accent
#DB0ABC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8370EE

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

Preview Lab → · Contrast checker → · Palette generator →

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