#8C8AEF#8C8AEF

#8C8AEF is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.9% C 0.147 H 282.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8C8AEF
RGBrgb(140, 138, 239)
HSLhsl(241, 76%, 74%)
HSVhsv(241, 42%, 94%)
CMYKcmyk(41.4%, 42.3%, 0%, 6.3%)
CIE-LABlab(61.64, 25.36, -50.70)
CIE-LCHlch(61.64, 56.69, 296.57°)
OKLaboklab(67.92% 0.0322 -0.1431)
OKLCHoklch(67.92% 0.147 282.7)
XYZxyz(35.4792, 29.9829, 85.5625)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8AEF #EDEF8A
analogous
#8ABBEF #8C8AEF #BF8AEF
triadic
#8C8AEF #EF8C8A #8AEF8C
tetradic
#8C8AEF #EF8ABB #EDEF8A #8AEFBF
square
#8C8AEF #EF8ABB #EDEF8A #8AEFBF
split-complementary
#8C8AEF #EFBF8A #BBEF8A
monochromatic
#221FE0 #5754E8 #8C8AEF #C1C0F6 #E5E4FB

Accessibility & contrast

On white

3.00
#8C8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8C8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8AEF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8AEF#FFFFFF#000000##000000
##8C8AEF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#6E9EB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8c8aef;
/* rgb */ color: rgb(140, 138, 239);
/* oklch */ color: oklch(67.9% 0.147 282.7);
Tailwind
colors: {
  custom: {
    50: '#b2acf5',
    500: '#8c8aef',
    950: '#000000',
  },
}
SCSS
$custom: #8c8aef;
$custom-light: #b2acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8aef",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 241.188,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67915,
    "c": 0.14669,
    "h": 282.7
  },
  "luminance": 0.29984
}

Semantic roles & 50–950 ramp

primary
#8C8AEF
secondary
#F3F3D8
accent
#D80DD4
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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