#B288E9#B288E9

#B288E9 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.5% C 0.144 H 302.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B288E9
RGBrgb(178, 136, 233)
HSLhsl(266, 69%, 72%)
HSVhsv(266, 42%, 91%)
CMYKcmyk(23.6%, 41.6%, 0%, 8.6%)
CIE-LABlab(64.13, 35.07, -43.24)
CIE-LCHlch(64.13, 55.68, 309.04°)
OKLaboklab(70.49% 0.0779 -0.1206)
OKLCHoklch(70.49% 0.144 302.9)
XYZxyz(41.8691, 32.9565, 81.2305)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288E9 #BFE988
analogous
#888FE9 #B288E9 #E288E9
triadic
#B288E9 #E9B288 #88E9B2
tetradic
#B288E9 #E9888F #BFE988 #88E9E2
square
#B288E9 #E9888F #BFE988 #88E9E2
split-complementary
#B288E9 #E9E288 #8FE988
monochromatic
#7026D0 #9154DF #B288E9 #D3BCF3 #EEE5FA

Accessibility & contrast

On white

2.77
#B288E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#B288E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288E9
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288E9#FFFFFF#000000##000000
##B288E91.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AED
Deuteranopia (green-blind)
#799BE6
Tritanopia (blue-blind)
#A998AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b288e9;
/* rgb */ color: rgb(178, 136, 233);
/* oklch */ color: oklch(70.5% 0.144 302.9);
Tailwind
colors: {
  custom: {
    50: '#cbabf0',
    500: '#b288e9',
    950: '#000000',
  },
}
SCSS
$custom: #b288e9;
$custom-light: #cbabf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b288e9",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 233
  },
  "hsl": {
    "h": 265.979,
    "s": 68.794,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70488,
    "c": 0.14353,
    "h": 302.9
  },
  "luminance": 0.32956
}

Semantic roles & 50–950 ramp

primary
#B288E9
secondary
#E7F2D9
accent
#D1157F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B288E9

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

Preview Lab → · Contrast checker → · Palette generator →

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