#B288F6#B288F6

#B288F6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.2% C 0.160 H 300.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B288F6
RGBrgb(178, 136, 246)
HSLhsl(263, 86%, 75%)
HSVhsv(263, 45%, 96%)
CMYKcmyk(27.6%, 44.7%, 0%, 3.5%)
CIE-LABlab(64.75, 38.15, -49.43)
CIE-LCHlch(64.75, 62.44, 307.66°)
OKLaboklab(71.16% 0.0799 -0.1385)
OKLCHoklch(71.16% 0.16 300)
XYZxyz(43.7950, 33.7269, 91.3736)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288F6 #CCF688
analogous
#8895F6 #B288F6 #E988F6
triadic
#B288F6 #F6B288 #88F6B2
tetradic
#B288F6 #F68895 #CCF688 #88F6E9
square
#B288F6 #F68895 #CCF688 #88F6E9
split-complementary
#B288F6 #F6E988 #95F688
monochromatic
#6816ED #8D4FF2 #B288F6 #D7C1FA #EDE3FD

Accessibility & contrast

On white

2.71
#B288F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B288F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288F6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288F6#FFFFFF#000000##000000
##B288F61.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#A59CB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b288f6;
/* rgb */ color: rgb(178, 136, 246);
/* oklch */ color: oklch(71.2% 0.160 300.0);
Tailwind
colors: {
  custom: {
    50: '#cbabf9',
    500: '#b288f6',
    950: '#000000',
  },
}
SCSS
$custom: #b288f6;
$custom-light: #cbabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b288f6",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 262.909,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71156,
    "c": 0.15993,
    "h": 300
  },
  "luminance": 0.33727
}

Semantic roles & 50–950 ramp

primary
#B288F6
secondary
#E9F5D6
accent
#E2038D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B288F6

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

Preview Lab → · Contrast checker → · Palette generator →

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