#B288FD#B288FD

#B288FD is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.169 H 298.6°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B288FD
RGBrgb(178, 136, 253)
HSLhsl(262, 97%, 76%)
HSVhsv(262, 46%, 99%)
CMYKcmyk(29.6%, 46.2%, 0%, 0.8%)
CIE-LABlab(65.09, 39.84, -52.72)
CIE-LCHlch(65.09, 66.08, 307.08°)
OKLaboklab(71.53% 0.0808 -0.1481)
OKLCHoklch(71.53% 0.169 298.6)
XYZxyz(44.8897, 34.1648, 97.1389)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288FD #D3FD88
analogous
#8899FD #B288FD #EC88FD
triadic
#B288FD #FDB288 #88FDB2
tetradic
#B288FD #FD8899 #D3FD88 #88FDEC
square
#B288FD #FD8899 #D3FD88 #88FDEC
split-complementary
#B288FD #FDEC88 #99FD88
monochromatic
#6410FB #8B4CFC #B288FD #D9C4FE #ECE1FE

Accessibility & contrast

On white

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

On black

7.83
#B288FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288FD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288FD#FFFFFF#000000##000000
##B288FD1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b288fd;
/* rgb */ color: rgb(178, 136, 253);
/* oklch */ color: oklch(71.5% 0.169 298.6);
Tailwind
colors: {
  custom: {
    50: '#ccabfe',
    500: '#b288fd',
    950: '#000000',
  },
}
SCSS
$custom: #b288fd;
$custom-light: #ccabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b288fd",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 261.538,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71531,
    "c": 0.16873,
    "h": 298.6
  },
  "luminance": 0.34165
}

Semantic roles & 50–950 ramp

primary
#B288FD
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B288FD

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

Preview Lab → · Contrast checker → · Palette generator →

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