#8C8FFB#8C8FFB

#8C8FFB is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.5% C 0.156 H 280.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8C8FFB
RGBrgb(140, 143, 251)
HSLhsl(238, 93%, 77%)
HSVhsv(238, 44%, 98%)
CMYKcmyk(44.2%, 43%, 0%, 1.6%)
CIE-LABlab(63.49, 25.84, -54.36)
CIE-LCHlch(63.49, 60.19, 295.43°)
OKLaboklab(69.53% 0.028 -0.1538)
OKLCHoklch(69.53% 0.156 280.3)
XYZxyz(38.0451, 32.1836, 95.4555)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8FFB #FBF88C
analogous
#8CC7FB #8C8FFB #C18CFB
triadic
#8C8FFB #FB8C8F #8FFB8C
tetradic
#8C8FFB #FB8CC7 #FBF88C #8CFBC1
square
#8C8FFB #FB8CC7 #FBF88C #8CFBC1
split-complementary
#8C8FFB #FBC18C #C7FB8C
monochromatic
#161CF7 #5155F9 #8C8FFB #C7C9FD #E1E2FE

Accessibility & contrast

On white

2.82
#8C8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8C8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8FFB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8FFB#FFFFFF#000000##000000
##8C8FFB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#67A5B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8c8ffb;
/* rgb */ color: rgb(140, 143, 251);
/* oklch */ color: oklch(69.5% 0.156 280.3);
Tailwind
colors: {
  custom: {
    50: '#b3affd',
    500: '#8c8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ffb;
$custom-light: #b3affd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ffb",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 238.378,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.15631,
    "h": 280.3
  },
  "luminance": 0.32185
}

Semantic roles & 50–950 ramp

primary
#8C8FFB
secondary
#F6F5D5
accent
#DF00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8C8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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