#8C8EFF#8C8EFF

#8C8EFF is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.6% C 0.163 H 280.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8C8EFF
RGBrgb(140, 142, 255)
HSLhsl(239, 100%, 77%)
HSVhsv(239, 45%, 100%)
CMYKcmyk(45.1%, 44.3%, 0%, 0%)
CIE-LABlab(63.46, 27.56, -56.60)
CIE-LCHlch(63.46, 62.96, 295.96°)
OKLaboklab(69.57% 0.0298 -0.1604)
OKLCHoklch(69.57% 0.163 280.5)
XYZxyz(38.5328, 32.1396, 98.7616)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EFF #FFFD8C
analogous
#8CC7FF #8C8EFF #C48CFF
triadic
#8C8EFF #FF8C8E #8EFF8C
tetradic
#8C8EFF #FF8CC7 #FFFD8C #8CFFC4
square
#8C8EFF #FF8CC7 #FFFD8C #8CFFC4
split-complementary
#8C8EFF #FFC48C #C7FF8C
monochromatic
#1216FF #4F52FF #8C8EFF #C9CAFF #E0E1FF

Accessibility & contrast

On white

2.83
#8C8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8C8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8EFF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EFF#FFFFFF#000000##000000
##8C8EFF1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#5A96FC
Tritanopia (blue-blind)
#65A6BA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8c8eff;
/* rgb */ color: rgb(140, 142, 255);
/* oklch */ color: oklch(69.6% 0.163 280.5);
Tailwind
colors: {
  custom: {
    50: '#b3afff',
    500: '#8c8eff',
    950: '#000000',
  },
}
SCSS
$custom: #8c8eff;
$custom-light: #b3afff;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8eff",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 238.957,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.69568,
    "c": 0.16312,
    "h": 280.5
  },
  "luminance": 0.32141
}

Semantic roles & 50–950 ramp

primary
#8C8EFF
secondary
#F7F7D4
accent
#E200E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8C8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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