#888FF2#888FF2

#888FF2 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.7% C 0.145 H 278.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#888FF2
RGBrgb(136, 143, 242)
HSLhsl(236, 80%, 74%)
HSVhsv(236, 44%, 95%)
CMYKcmyk(43.8%, 40.9%, 0%, 5.1%)
CIE-LABlab(62.75, 22.32, -50.61)
CIE-LCHlch(62.75, 55.31, 293.79°)
OKLaboklab(68.74% 0.0221 -0.1429)
OKLCHoklch(68.74% 0.145 278.8)
XYZxyz(35.9980, 31.2882, 88.1296)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888FF2 #F2EB88
analogous
#88C4F2 #888FF2 #B688F2
triadic
#888FF2 #F2888F #8FF288
tetradic
#888FF2 #F288C4 #F2EB88 #88F2B6
square
#888FF2 #F288C4 #F2EB88 #88F2B6
split-complementary
#888FF2 #F2B688 #C4F288
monochromatic
#1A27E6 #515BEC #888FF2 #BFC3F8 #E3E5FC

Accessibility & contrast

On white

2.89
#888FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#888FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888FF2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888FF2#FFFFFF#000000##000000
##888FF21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#65A3B5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #888ff2;
/* rgb */ color: rgb(136, 143, 242);
/* oklch */ color: oklch(68.7% 0.145 278.8);
Tailwind
colors: {
  custom: {
    50: '#afaff7',
    500: '#888ff2',
    950: '#000000',
  },
}
SCSS
$custom: #888ff2;
$custom-light: #afaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#888ff2",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 236.038,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68738,
    "c": 0.14463,
    "h": 278.8
  },
  "luminance": 0.3129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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