#B288DA#B288DA

#B288DA is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.125 H 307.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B288DA
RGBrgb(178, 136, 218)
HSLhsl(271, 53%, 69%)
HSVhsv(271, 38%, 85%)
CMYKcmyk(18.3%, 37.6%, 0%, 14.5%)
CIE-LABlab(63.45, 31.64, -35.97)
CIE-LCHlch(63.45, 47.91, 311.34°)
OKLaboklab(69.76% 0.075 -0.0996)
OKLCHoklch(69.76% 0.125 307)
XYZxyz(39.8167, 32.1356, 70.4213)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288DA #B0DA88
analogous
#8988DA #B288DA #DA88D9
triadic
#B288DA #DAB288 #88DAB2
tetradic
#B288DA #DA8988 #B0DA88 #88D9DA
square
#B288DA #DA8988 #B0DA88 #88D9DA
split-complementary
#B288DA #D9DA88 #88DA89
monochromatic
#7537B1 #9459CB #B288DA #D0B7E9 #EEE5F7

Accessibility & contrast

On white

2.83
#B288DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B288DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288DA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288DA#FFFFFF#000000##000000
##B288DA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DD
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#AC94A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b288da;
/* rgb */ color: rgb(178, 136, 218);
/* oklch */ color: oklch(69.8% 0.125 307.0);
Tailwind
colors: {
  custom: {
    50: '#caabe5',
    500: '#b288da',
    950: '#000000',
  },
}
SCSS
$custom: #b288da;
$custom-light: #caabe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b288da",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 218
  },
  "hsl": {
    "h": 270.732,
    "s": 52.564,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.12463,
    "h": 307
  },
  "luminance": 0.32135
}

Semantic roles & 50–950 ramp

primary
#B288DA
secondary
#DFEBD3
accent
#C02671
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B288DA

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

Preview Lab → · Contrast checker → · Palette generator →

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