#B288DB#B288DB

#B288DB is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.8% C 0.126 H 306.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B288DB
RGBrgb(178, 136, 219)
HSLhsl(270, 54%, 70%)
HSVhsv(270, 38%, 86%)
CMYKcmyk(18.7%, 37.9%, 0%, 14.1%)
CIE-LABlab(63.50, 31.87, -36.46)
CIE-LCHlch(63.50, 48.42, 311.16°)
OKLaboklab(69.81% 0.0752 -0.101)
OKLCHoklch(69.81% 0.126 306.7)
XYZxyz(39.9479, 32.1881, 71.1125)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288DB #B1DB88
analogous
#8988DB #B288DB #DB88DB
triadic
#B288DB #DBB288 #88DBB2
tetradic
#B288DB #DB8988 #B1DB88 #88DBDB
square
#B288DB #DB8988 #B1DB88 #88DBDB
split-complementary
#B288DB #DBDB88 #88DB89
monochromatic
#7536B3 #9459CD #B288DB #D0B7E9 #EFE6F7

Accessibility & contrast

On white

2.82
#B288DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B288DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288DB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288DB#FFFFFF#000000##000000
##B288DB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#AC95A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b288db;
/* rgb */ color: rgb(178, 136, 219);
/* oklch */ color: oklch(69.8% 0.126 306.7);
Tailwind
colors: {
  custom: {
    50: '#caabe6',
    500: '#b288db',
    950: '#000000',
  },
}
SCSS
$custom: #b288db;
$custom-light: #caabe6;
$custom-dark: #000000;
JSON
{
  "hex": "#b288db",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 219
  },
  "hsl": {
    "h": 270.361,
    "s": 53.548,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69807,
    "c": 0.12589,
    "h": 306.7
  },
  "luminance": 0.32188
}

Semantic roles & 50–950 ramp

primary
#B288DB
secondary
#DFEBD4
accent
#C12472
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B288DB

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

Preview Lab → · Contrast checker → · Palette generator →

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