#B288FF#B288FF

#B288FF is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.171 H 298.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B288FF
RGBrgb(178, 136, 255)
HSLhsl(261, 100%, 77%)
HSVhsv(261, 47%, 100%)
CMYKcmyk(30.2%, 46.7%, 0%, 0%)
CIE-LABlab(65.19, 40.33, -53.65)
CIE-LCHlch(65.19, 67.12, 306.93°)
OKLaboklab(71.64% 0.0811 -0.1508)
OKLCHoklch(71.64% 0.171 298.3)
XYZxyz(45.2099, 34.2929, 98.8257)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288FF #D5FF88
analogous
#889AFF #B288FF #ED88FF
triadic
#B288FF #FFB288 #88FFB2
tetradic
#B288FF #FF889A #D5FF88 #88FFED
square
#B288FF #FF889A #D5FF88 #88FFED
split-complementary
#B288FF #FFED88 #9AFF88
monochromatic
#630EFF #8A4BFF #B288FF #DAC5FF #EBE0FF

Accessibility & contrast

On white

2.67
#B288FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B288FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288FF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288FF#FFFFFF#000000##000000
##B288FF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#A29EB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b288ff;
/* rgb */ color: rgb(178, 136, 255);
/* oklch */ color: oklch(71.6% 0.171 298.3);
Tailwind
colors: {
  custom: {
    50: '#ccabff',
    500: '#b288ff',
    950: '#000000',
  },
}
SCSS
$custom: #b288ff;
$custom-light: #ccabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b288ff",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 255
  },
  "hsl": {
    "h": 261.176,
    "s": 100,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71639,
    "c": 0.17124,
    "h": 298.3
  },
  "luminance": 0.34293
}

Semantic roles & 50–950 ramp

primary
#B288FF
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B288FF

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

Preview Lab → · Contrast checker → · Palette generator →

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