#888EF2#888EF2

#888EF2 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.5% C 0.146 H 279.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#888EF2
RGBrgb(136, 142, 242)
HSLhsl(237, 80%, 74%)
HSVhsv(237, 44%, 95%)
CMYKcmyk(43.8%, 41.3%, 0%, 5.1%)
CIE-LABlab(62.50, 22.90, -51.01)
CIE-LCHlch(62.50, 55.91, 294.18°)
OKLaboklab(68.55% 0.0233 -0.1441)
OKLCHoklch(68.55% 0.146 279.2)
XYZxyz(35.8485, 30.9893, 88.0798)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888EF2 #F2EC88
analogous
#88C3F2 #888EF2 #B788F2
triadic
#888EF2 #F2888E #8EF288
tetradic
#888EF2 #F288C3 #F2EC88 #88F2B7
square
#888EF2 #F288C3 #F2EC88 #88F2B7
split-complementary
#888EF2 #F2B788 #C3F288
monochromatic
#1A25E6 #515AEC #888EF2 #BFC2F8 #E3E5FC

Accessibility & contrast

On white

2.92
#888EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#888EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888EF2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888EF2#FFFFFF#000000##000000
##888EF21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#6193F0
Tritanopia (blue-blind)
#65A2B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #888ef2;
/* rgb */ color: rgb(136, 142, 242);
/* oklch */ color: oklch(68.5% 0.146 279.2);
Tailwind
colors: {
  custom: {
    50: '#afaff7',
    500: '#888ef2',
    950: '#000000',
  },
}
SCSS
$custom: #888ef2;
$custom-light: #afaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#888ef2",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 236.604,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68546,
    "c": 0.14598,
    "h": 279.2
  },
  "luminance": 0.30991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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