#B288EE#B288EE

#B288EE is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.7% C 0.150 H 301.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B288EE
RGBrgb(178, 136, 238)
HSLhsl(265, 75%, 73%)
HSVhsv(265, 43%, 93%)
CMYKcmyk(25.2%, 42.9%, 0%, 6.7%)
CIE-LABlab(64.36, 36.24, -45.64)
CIE-LCHlch(64.36, 58.28, 308.46°)
OKLaboklab(70.74% 0.0787 -0.1275)
OKLCHoklch(70.74% 0.15 301.7)
XYZxyz(42.5935, 33.2463, 85.0456)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288EE #C4EE88
analogous
#8891EE #B288EE #E588EE
triadic
#B288EE #EEB288 #88EEB2
tetradic
#B288EE #EE8891 #C4EE88 #88EEE5
square
#B288EE #EE8891 #C4EE88 #88EEE5
split-complementary
#B288EE #EEE588 #91EE88
monochromatic
#6D1FDC #8F52E6 #B288EE #D5BEF6 #EEE4FB

Accessibility & contrast

On white

2.75
#B288EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B288EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288EE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288EE#FFFFFF#000000##000000
##B288EE1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF2
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#A799B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b288ee;
/* rgb */ color: rgb(178, 136, 238);
/* oklch */ color: oklch(70.7% 0.150 301.7);
Tailwind
colors: {
  custom: {
    50: '#cbabf4',
    500: '#b288ee',
    950: '#000000',
  },
}
SCSS
$custom: #b288ee;
$custom-light: #cbabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b288ee",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 264.706,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70741,
    "c": 0.14985,
    "h": 301.7
  },
  "luminance": 0.33246
}

Semantic roles & 50–950 ramp

primary
#B288EE
secondary
#E8F3D8
accent
#D70E84
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B288EE

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

Preview Lab → · Contrast checker → · Palette generator →

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