#888CF2#888CF2

#888CF2 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.2% C 0.149 H 280.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#888CF2
RGBrgb(136, 140, 242)
HSLhsl(238, 80%, 74%)
HSVhsv(238, 44%, 95%)
CMYKcmyk(43.8%, 42.1%, 0%, 5.1%)
CIE-LABlab(62.00, 24.07, -51.80)
CIE-LCHlch(62.00, 57.12, 294.92°)
OKLaboklab(68.16% 0.0258 -0.1464)
OKLCHoklch(68.16% 0.149 280)
XYZxyz(35.5537, 30.3995, 87.9815)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888CF2 #F2EE88
analogous
#88C1F2 #888CF2 #B988F2
triadic
#888CF2 #F2888C #8CF288
tetradic
#888CF2 #F288C1 #F2EE88 #88F2B9
square
#888CF2 #F288C1 #F2EE88 #88F2B9
split-complementary
#888CF2 #F2B988 #C1F288
monochromatic
#1A21E6 #5157EC #888CF2 #BFC1F8 #E3E4FC

Accessibility & contrast

On white

2.97
#888CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#888CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888CF2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888CF2#FFFFFF#000000##000000
##888CF21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#65A1B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888cf2;
/* rgb */ color: rgb(136, 140, 242);
/* oklch */ color: oklch(68.2% 0.149 280.0);
Tailwind
colors: {
  custom: {
    50: '#afadf7',
    500: '#888cf2',
    950: '#000000',
  },
}
SCSS
$custom: #888cf2;
$custom-light: #afadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#888cf2",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 237.736,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68164,
    "c": 0.14868,
    "h": 280
  },
  "luminance": 0.30401
}

Semantic roles & 50–950 ramp

primary
#888CF2
secondary
#F4F3D7
accent
#D509DD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #888CF2

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

Preview Lab → · Contrast checker → · Palette generator →

#888CF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva