#8C8CF5#8C8CF5

#8C8CF5 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.6% C 0.152 H 281.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8C8CF5
RGBrgb(140, 140, 245)
HSLhsl(240, 84%, 75%)
HSVhsv(240, 43%, 96%)
CMYKcmyk(42.9%, 42.9%, 0%, 3.9%)
CIE-LABlab(62.44, 25.88, -52.73)
CIE-LCHlch(62.44, 58.74, 296.14°)
OKLaboklab(68.63% 0.0307 -0.1491)
OKLCHoklch(68.63% 0.152 281.6)
XYZxyz(36.6699, 30.9226, 90.4050)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8CF5 #F5F58C
analogous
#8CC0F5 #8C8CF5 #C08CF5
triadic
#8C8CF5 #F58C8C #8CF58C
tetradic
#8C8CF5 #F58CC0 #F5F58C #8CF5C0
square
#8C8CF5 #F58CC0 #F5F58C #8CF5C0
split-complementary
#8C8CF5 #F5C08C #C0F58C
monochromatic
#1B1BEB #5454F0 #8C8CF5 #C4C4FA #E3E3FD

Accessibility & contrast

On white

2.92
#8C8CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#8C8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8CF5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8CF5#FFFFFF#000000##000000
##8C8CF51.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#5F93F3
Tritanopia (blue-blind)
#6BA1B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8c8cf5;
/* rgb */ color: rgb(140, 140, 245);
/* oklch */ color: oklch(68.6% 0.152 281.6);
Tailwind
colors: {
  custom: {
    50: '#b2adf9',
    500: '#8c8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #8c8cf5;
$custom-light: #b2adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8cf5",
  "rgb": {
    "r": 140,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68626,
    "c": 0.15218,
    "h": 281.6
  },
  "luminance": 0.30924
}

Semantic roles & 50–950 ramp

primary
#8C8CF5
secondary
#F4F4D7
accent
#E005E0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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