#888BF2#888BF2

#888BF2 is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.150 H 280.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#888BF2
RGBrgb(136, 139, 242)
HSLhsl(238, 80%, 74%)
HSVhsv(238, 44%, 95%)
CMYKcmyk(43.8%, 42.6%, 0%, 5.1%)
CIE-LABlab(61.75, 24.65, -52.20)
CIE-LCHlch(61.75, 57.73, 295.28°)
OKLaboklab(67.97% 0.027 -0.1476)
OKLCHoklch(67.97% 0.15 280.4)
XYZxyz(35.4082, 30.1086, 87.9330)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888BF2 #F2EF88
analogous
#88C0F2 #888BF2 #BA88F2
triadic
#888BF2 #F2888B #8BF288
tetradic
#888BF2 #F288C0 #F2EF88 #88F2BA
square
#888BF2 #F288C0 #F2EF88 #88F2BA
split-complementary
#888BF2 #F2BA88 #C0F288
monochromatic
#1A1FE6 #5155EC #888BF2 #BFC1F8 #E3E4FC

Accessibility & contrast

On white

2.99
#888BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#888BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888BF2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888BF2#FFFFFF#000000##000000
##888BF21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#65A0B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #888bf2;
/* rgb */ color: rgb(136, 139, 242);
/* oklch */ color: oklch(68.0% 0.150 280.4);
Tailwind
colors: {
  custom: {
    50: '#afacf7',
    500: '#888bf2',
    950: '#000000',
  },
}
SCSS
$custom: #888bf2;
$custom-light: #afacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#888bf2",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 238.302,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67974,
    "c": 0.15004,
    "h": 280.4
  },
  "luminance": 0.3011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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