#8370EC#8370EC

#8370EC is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.3% C 0.180 H 287.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8370EC
RGBrgb(131, 112, 236)
HSLhsl(249, 77%, 68%)
HSVhsv(249, 53%, 93%)
CMYKcmyk(44.5%, 52.5%, 0%, 7.5%)
CIE-LABlab(54.52, 37.56, -60.44)
CIE-LCHlch(54.52, 71.16, 301.86°)
OKLaboklab(62.32% 0.0526 -0.172)
OKLCHoklch(62.32% 0.18 287)
XYZxyz(30.2902, 22.4685, 82.0815)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370EC #D9EC70
analogous
#709BEC #8370EC #C170EC
triadic
#8370EC #EC8370 #70EC83
tetradic
#8370EC #EC709B #D9EC70 #70ECC1
square
#8370EC #EC709B #D9EC70 #70ECC1
split-complementary
#8370EC #ECC170 #9BEC70
monochromatic
#351AC7 #543AE5 #8370EC #B2A6F3 #E1DCFA

Accessibility & contrast

On white

3.82
#8370EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8370EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370EC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370EC#FFFFFF#000000##000000
##8370EC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F0
Deuteranopia (green-blind)
#327FE9
Tritanopia (blue-blind)
#628BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8370ec;
/* rgb */ color: rgb(131, 112, 236);
/* oklch */ color: oklch(62.3% 0.180 287.0);
Tailwind
colors: {
  custom: {
    50: '#ad99f3',
    500: '#8370ec',
    950: '#000000',
  },
}
SCSS
$custom: #8370ec;
$custom-light: #ad99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8370ec",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 249.194,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62324,
    "c": 0.17985,
    "h": 287
  },
  "luminance": 0.2247
}

Semantic roles & 50–950 ramp

primary
#8370EC
secondary
#E9EFC9
accent
#D90DB9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8370EC

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

Preview Lab → · Contrast checker → · Palette generator →

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