#B288FB#B288FB

#B288FB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.166 H 299.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B288FB
RGBrgb(178, 136, 251)
HSLhsl(262, 93%, 76%)
HSVhsv(262, 46%, 98%)
CMYKcmyk(29.1%, 45.8%, 0%, 1.6%)
CIE-LABlab(64.99, 39.35, -51.78)
CIE-LCHlch(64.99, 65.04, 307.23°)
OKLaboklab(71.42% 0.0806 -0.1454)
OKLCHoklch(71.42% 0.166 299)
XYZxyz(44.5727, 34.0380, 95.4698)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288FB #D1FB88
analogous
#8897FB #B288FB #EB88FB
triadic
#B288FB #FBB288 #88FBB2
tetradic
#B288FB #FB8897 #D1FB88 #88FBEB
square
#B288FB #FB8897 #D1FB88 #88FBEB
split-complementary
#B288FB #FBEB88 #97FB88
monochromatic
#6512F7 #8C4DF9 #B288FB #D8C3FD #ECE1FE

Accessibility & contrast

On white

2.69
#B288FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B288FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288FB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288FB#FFFFFF#000000##000000
##B288FB1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#A39DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b288fb;
/* rgb */ color: rgb(178, 136, 251);
/* oklch */ color: oklch(71.4% 0.166 299.0);
Tailwind
colors: {
  custom: {
    50: '#ccabfd',
    500: '#b288fb',
    950: '#000000',
  },
}
SCSS
$custom: #b288fb;
$custom-light: #ccabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b288fb",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 261.913,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71423,
    "c": 0.16622,
    "h": 299
  },
  "luminance": 0.34038
}

Semantic roles & 50–950 ramp

primary
#B288FB
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B288FB

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

Preview Lab → · Contrast checker → · Palette generator →

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