#8C8FCA#8C8FCA

#8C8FCA is a light, moderate blue. Relative luminance 0.295; OKLCH L 67.0% C 0.087 H 281.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8C8FCA
RGBrgb(140, 143, 202)
HSLhsl(237, 37%, 67%)
HSVhsv(237, 31%, 79%)
CMYKcmyk(30.7%, 29.2%, 0%, 20.8%)
CIE-LABlab(61.21, 12.48, -30.77)
CIE-LCHlch(61.21, 33.20, 292.07°)
OKLaboklab(67.02% 0.0174 -0.0854)
OKLCHoklch(67.02% 0.087 281.5)
XYZxyz(31.2955, 29.4838, 59.9077)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8FCA #CAC78C
analogous
#8CAECA #8C8FCA #A88CCA
triadic
#8C8FCA #CA8C8F #8FCA8C
tetradic
#8C8FCA #CA8CAE #CAC78C #8CCAA8
square
#8C8FCA #CA8CAE #CAC78C #8CCAA8
split-complementary
#8C8FCA #CAA88C #AECA8C
monochromatic
#454996 #6266B7 #8C8FCA #B6B8DD #E0E1F1

Accessibility & contrast

On white

3.04
#8C8FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#8C8FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8FCA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8FCA#FFFFFF#000000##000000
##8C8FCA1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CC
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#7C9AA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8c8fca;
/* rgb */ color: rgb(140, 143, 202);
/* oklch */ color: oklch(67.0% 0.087 281.5);
Tailwind
colors: {
  custom: {
    50: '#afafda',
    500: '#8c8fca',
    950: '#000000',
  },
}
SCSS
$custom: #8c8fca;
$custom-light: #afafda;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8fca",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 237.097,
    "s": 36.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.08713,
    "h": 281.5
  },
  "luminance": 0.29485
}

Semantic roles & 50–950 ramp

primary
#8C8FCA
secondary
#E3E2CF
accent
#AA36B0
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8C8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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