#888DF2#888DF2

#888DF2 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.4% C 0.147 H 279.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#888DF2
RGBrgb(136, 141, 242)
HSLhsl(237, 80%, 74%)
HSVhsv(237, 44%, 95%)
CMYKcmyk(43.8%, 41.7%, 0%, 5.1%)
CIE-LABlab(62.25, 23.48, -51.41)
CIE-LCHlch(62.25, 56.52, 294.55°)
OKLaboklab(68.36% 0.0246 -0.1453)
OKLCHoklch(68.36% 0.147 279.6)
XYZxyz(35.7004, 30.6931, 88.0304)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888DF2 #F2ED88
analogous
#88C2F2 #888DF2 #B888F2
triadic
#888DF2 #F2888D #8DF288
tetradic
#888DF2 #F288C2 #F2ED88 #88F2B8
square
#888DF2 #F288C2 #F2ED88 #88F2B8
split-complementary
#888DF2 #F2B888 #C2F288
monochromatic
#1A23E6 #5158EC #888DF2 #BFC2F8 #E3E5FC

Accessibility & contrast

On white

2.94
#888DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#888DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888DF2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888DF2#FFFFFF#000000##000000
##888DF21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#65A2B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888df2;
/* rgb */ color: rgb(136, 141, 242);
/* oklch */ color: oklch(68.4% 0.147 279.6);
Tailwind
colors: {
  custom: {
    50: '#afaef7',
    500: '#888df2',
    950: '#000000',
  },
}
SCSS
$custom: #888df2;
$custom-light: #afaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#888df2",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 237.17,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68355,
    "c": 0.14733,
    "h": 279.6
  },
  "luminance": 0.30695
}

Semantic roles & 50–950 ramp

primary
#888DF2
secondary
#F4F2D7
accent
#D309DD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #888DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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