#8C8EEA#8C8EEA

#8C8EEA is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.4% C 0.134 H 281.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8C8EEA
RGBrgb(140, 142, 234)
HSLhsl(239, 69%, 73%)
HSVhsv(239, 40%, 92%)
CMYKcmyk(40.2%, 39.3%, 0%, 8.2%)
CIE-LABlab(62.39, 21.64, -46.75)
CIE-LCHlch(62.39, 51.51, 294.84°)
OKLaboklab(68.41% 0.0263 -0.1316)
OKLCHoklch(68.41% 0.134 281.3)
XYZxyz(35.3352, 30.8605, 81.9208)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EEA #EAE88C
analogous
#8CBDEA #8C8EEA #B98CEA
triadic
#8C8EEA #EA8C8E #8EEA8C
tetradic
#8C8EEA #EA8CBD #EAE88C #8CEAB9
square
#8C8EEA #EA8CBD #EAE88C #8CEAB9
split-complementary
#8C8EEA #EAB98C #BDEA8C
monochromatic
#272BD5 #585BE1 #8C8EEA #C0C1F3 #E5E6FA

Accessibility & contrast

On white

2.93
#8C8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#8C8EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8EEA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EEA#FFFFFF#000000##000000
##8C8EEA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#70A0B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8c8eea;
/* rgb */ color: rgb(140, 142, 234);
/* oklch */ color: oklch(68.4% 0.134 281.3);
Tailwind
colors: {
  custom: {
    50: '#b1aff1',
    500: '#8c8eea',
    950: '#000000',
  },
}
SCSS
$custom: #8c8eea;
$custom-light: #b1aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8eea",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 238.723,
    "s": 69.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68406,
    "c": 0.13418,
    "h": 281.3
  },
  "luminance": 0.30862
}

Semantic roles & 50–950 ramp

primary
#8C8EEA
secondary
#F2F1D9
accent
#CD14D1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

#8C8EEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva