#B288EF#B288EF

#B288EF is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.8% C 0.151 H 301.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B288EF
RGBrgb(178, 136, 239)
HSLhsl(264, 76%, 74%)
HSVhsv(264, 43%, 94%)
CMYKcmyk(25.5%, 43.1%, 0%, 6.3%)
CIE-LABlab(64.41, 36.48, -46.11)
CIE-LCHlch(64.41, 58.80, 308.35°)
OKLaboklab(70.79% 0.0789 -0.1289)
OKLCHoklch(70.79% 0.151 301.5)
XYZxyz(42.7408, 33.3052, 85.8215)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288EF #C5EF88
analogous
#8891EF #B288EF #E588EF
triadic
#B288EF #EFB288 #88EFB2
tetradic
#B288EF #EF8891 #C5EF88 #88EFE5
square
#B288EF #EF8891 #C5EF88 #88EFE5
split-complementary
#B288EF #EFE588 #91EF88
monochromatic
#6D1EDF #8F52E8 #B288EF #D5BEF6 #EEE4FB

Accessibility & contrast

On white

2.74
#B288EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B288EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288EF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288EF#FFFFFF#000000##000000
##B288EF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#A79AB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b288ef;
/* rgb */ color: rgb(178, 136, 239);
/* oklch */ color: oklch(70.8% 0.151 301.5);
Tailwind
colors: {
  custom: {
    50: '#cbabf4',
    500: '#b288ef',
    950: '#000000',
  },
}
SCSS
$custom: #b288ef;
$custom-light: #cbabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b288ef",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 264.466,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.15111,
    "h": 301.5
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B288EF

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

Preview Lab → · Contrast checker → · Palette generator →

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