#B288FA#B288FA

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

Color values

HEX#B288FA
RGBrgb(178, 136, 250)
HSLhsl(262, 92%, 76%)
HSVhsv(262, 46%, 98%)
CMYKcmyk(28.8%, 45.6%, 0%, 2%)
CIE-LABlab(64.94, 39.11, -51.31)
CIE-LCHlch(64.94, 64.52, 307.32°)
OKLaboklab(71.37% 0.0804 -0.144)
OKLCHoklch(71.37% 0.165 299.2)
XYZxyz(44.4155, 33.9751, 94.6418)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288FA #D0FA88
analogous
#8897FA #B288FA #EB88FA
triadic
#B288FA #FAB288 #88FAB2
tetradic
#B288FA #FA8897 #D0FA88 #88FAEB
square
#B288FA #FA8897 #D0FA88 #88FAEB
split-complementary
#B288FA #FAEB88 #97FA88
monochromatic
#6613F5 #8C4DF8 #B288FA #D8C3FC #ECE2FE

Accessibility & contrast

On white

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

On black

7.79
#B288FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288FA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288FA#FFFFFF#000000##000000
##B288FA1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#A49DB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b288fa;
/* rgb */ color: rgb(178, 136, 250);
/* oklch */ color: oklch(71.4% 0.165 299.2);
Tailwind
colors: {
  custom: {
    50: '#ccabfc',
    500: '#b288fa',
    950: '#000000',
  },
}
SCSS
$custom: #b288fa;
$custom-light: #ccabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b288fa",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 262.105,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71369,
    "c": 0.16497,
    "h": 299.2
  },
  "luminance": 0.33975
}

Semantic roles & 50–950 ramp

primary
#B288FA
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B288FA

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

Preview Lab → · Contrast checker → · Palette generator →

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