#B288EB#B288EB

#B288EB is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.6% C 0.146 H 302.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B288EB
RGBrgb(178, 136, 235)
HSLhsl(265, 71%, 73%)
HSVhsv(265, 42%, 92%)
CMYKcmyk(24.3%, 42.1%, 0%, 7.8%)
CIE-LABlab(64.22, 35.54, -44.20)
CIE-LCHlch(64.22, 56.72, 308.80°)
OKLaboklab(70.59% 0.0782 -0.1233)
OKLCHoklch(70.59% 0.146 302.4)
XYZxyz(42.1564, 33.0714, 82.7437)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288EB #C1EB88
analogous
#888FEB #B288EB #E488EB
triadic
#B288EB #EBB288 #88EBB2
tetradic
#B288EB #EB888F #C1EB88 #88EBE4
square
#B288EB #EB888F #C1EB88 #88EBE4
split-complementary
#B288EB #EBE488 #8FEB88
monochromatic
#6F24D5 #9054E2 #B288EB #D4BCF4 #EEE5FB

Accessibility & contrast

On white

2.76
#B288EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B288EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288EB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288EB#FFFFFF#000000##000000
##B288EB1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#A899AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b288eb;
/* rgb */ color: rgb(178, 136, 235);
/* oklch */ color: oklch(70.6% 0.146 302.4);
Tailwind
colors: {
  custom: {
    50: '#cbabf2',
    500: '#b288eb',
    950: '#000000',
  },
}
SCSS
$custom: #b288eb;
$custom-light: #cbabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b288eb",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 265.455,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70588,
    "c": 0.14605,
    "h": 302.4
  },
  "luminance": 0.33071
}

Semantic roles & 50–950 ramp

primary
#B288EB
secondary
#E7F2D9
accent
#D31281
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B288EB

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

Preview Lab → · Contrast checker → · Palette generator →

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