#B88EF8#B88EF8

#B88EF8 is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.8% C 0.154 H 300.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B88EF8
RGBrgb(184, 142, 248)
HSLhsl(264, 88%, 76%)
HSVhsv(264, 43%, 97%)
CMYKcmyk(25.8%, 42.7%, 0%, 2.7%)
CIE-LABlab(66.76, 36.92, -47.31)
CIE-LCHlch(66.76, 60.01, 307.97°)
OKLaboklab(72.84% 0.0792 -0.1323)
OKLCHoklch(72.84% 0.154 300.9)
XYZxyz(46.3796, 36.3135, 93.3545)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B88EF8 #CEF88E
analogous
#8E99F8 #B88EF8 #ED8EF8
triadic
#B88EF8 #F8B88E #8EF8B8
tetradic
#B88EF8 #F88E99 #CEF88E #8EF8ED
square
#B88EF8 #F88E99 #CEF88E #8EF8ED
split-complementary
#B88EF8 #F8ED8E #99F88E
monochromatic
#701BF1 #9454F4 #B88EF8 #DCC8FC #EDE2FD

Accessibility & contrast

On white

2.54
#B88EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B88EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B88EF8
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B88EF8#FFFFFF#000000##000000
##B88EF81.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#ACA0B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b88ef8;
/* rgb */ color: rgb(184, 142, 248);
/* oklch */ color: oklch(72.8% 0.154 300.9);
Tailwind
colors: {
  custom: {
    50: '#cfaffb',
    500: '#b88ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b88ef8;
$custom-light: #cfaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b88ef8",
  "rgb": {
    "r": 184,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 263.774,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.15418,
    "h": 300.9
  },
  "luminance": 0.36314
}

Semantic roles & 50–950 ramp

primary
#B88EF8
secondary
#E9F5D6
accent
#E5018A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B88EF8

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

Preview Lab → · Contrast checker → · Palette generator →

#B88EF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva