#8C8FEB#8C8FEB

#8C8FEB is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.7% C 0.134 H 280.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8C8FEB
RGBrgb(140, 143, 235)
HSLhsl(238, 70%, 74%)
HSVhsv(238, 40%, 92%)
CMYKcmyk(40.4%, 39.1%, 0%, 7.8%)
CIE-LABlab(62.69, 21.33, -46.83)
CIE-LCHlch(62.69, 51.46, 294.49°)
OKLaboklab(68.65% 0.0252 -0.1318)
OKLCHoklch(68.65% 0.134 280.8)
XYZxyz(35.6287, 31.2171, 82.7294)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8FEB #EBE88C
analogous
#8CBEEB #8C8FEB #B88CEB
triadic
#8C8FEB #EB8C8F #8FEB8C
tetradic
#8C8FEB #EB8CBE #EBE88C #8CEBB8
square
#8C8FEB #EB8CBE #EBE88C #8CEBB8
split-complementary
#8C8FEB #EBB88C #BEEB8C
monochromatic
#252BD7 #585CE2 #8C8FEB #C0C2F4 #E5E6FA

Accessibility & contrast

On white

2.90
#8C8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#8C8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8FEB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8FEB#FFFFFF#000000##000000
##8C8FEB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#6A94E9
Tritanopia (blue-blind)
#6FA1B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8c8feb;
/* rgb */ color: rgb(140, 143, 235);
/* oklch */ color: oklch(68.7% 0.134 280.8);
Tailwind
colors: {
  custom: {
    50: '#b1aff2',
    500: '#8c8feb',
    950: '#000000',
  },
}
SCSS
$custom: #8c8feb;
$custom-light: #b1aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8feb",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 238.105,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68652,
    "c": 0.1342,
    "h": 280.8
  },
  "luminance": 0.31219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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