#B288FE#B288FE

#B288FE is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.170 H 298.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B288FE
RGBrgb(178, 136, 254)
HSLhsl(261, 98%, 76%)
HSVhsv(261, 46%, 100%)
CMYKcmyk(29.9%, 46.5%, 0%, 0.4%)
CIE-LABlab(65.14, 40.08, -53.19)
CIE-LCHlch(65.14, 66.60, 307.00°)
OKLaboklab(71.58% 0.0809 -0.1495)
OKLCHoklch(71.58% 0.17 298.4)
XYZxyz(45.0494, 34.2286, 97.9801)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288FE #D4FE88
analogous
#8899FE #B288FE #ED88FE
triadic
#B288FE #FEB288 #88FEB2
tetradic
#B288FE #FE8899 #D4FE88 #88FEED
square
#B288FE #FE8899 #D4FE88 #88FEED
split-complementary
#B288FE #FEED88 #99FE88
monochromatic
#630FFD #8B4BFD #B288FE #D9C5FF #EBE1FF

Accessibility & contrast

On white

2.68
#B288FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B288FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288FE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288FE#FFFFFF#000000##000000
##B288FE1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b288fe;
/* rgb */ color: rgb(178, 136, 254);
/* oklch */ color: oklch(71.6% 0.170 298.4);
Tailwind
colors: {
  custom: {
    50: '#ccabff',
    500: '#b288fe',
    950: '#000000',
  },
}
SCSS
$custom: #b288fe;
$custom-light: #ccabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b288fe",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 261.356,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.16999,
    "h": 298.4
  },
  "luminance": 0.34229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B288FE

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

Preview Lab → · Contrast checker → · Palette generator →

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