#B288DC#B288DC

#B288DC is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.127 H 306.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B288DC
RGBrgb(178, 136, 220)
HSLhsl(270, 55%, 70%)
HSVhsv(270, 38%, 86%)
CMYKcmyk(19.1%, 38.2%, 0%, 13.7%)
CIE-LABlab(63.54, 32.09, -36.95)
CIE-LCHlch(63.54, 48.94, 310.98°)
OKLaboklab(69.86% 0.0754 -0.1024)
OKLCHoklch(69.86% 0.127 306.4)
XYZxyz(40.0800, 32.2409, 71.8079)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288DC #B2DC88
analogous
#8888DC #B288DC #DC88DC
triadic
#B288DC #DCB288 #88DCB2
tetradic
#B288DC #DC8888 #B2DC88 #88DCDC
square
#B288DC #DC8888 #B2DC88 #88DCDC
split-complementary
#B288DC #DCDC88 #88DC88
monochromatic
#7535B5 #9359CE #B288DC #D1B7EA #EFE7F8

Accessibility & contrast

On white

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

On black

7.45
#B288DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288DC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288DC#FFFFFF#000000##000000
##B288DC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DF
Deuteranopia (green-blind)
#7F9ADA
Tritanopia (blue-blind)
#AC95A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b288dc;
/* rgb */ color: rgb(178, 136, 220);
/* oklch */ color: oklch(69.9% 0.127 306.4);
Tailwind
colors: {
  custom: {
    50: '#caabe7',
    500: '#b288dc',
    950: '#000000',
  },
}
SCSS
$custom: #b288dc;
$custom-light: #caabe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b288dc",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69855,
    "c": 0.12715,
    "h": 306.4
  },
  "luminance": 0.32241
}

Semantic roles & 50–950 ramp

primary
#B288DC
secondary
#E0ECD4
accent
#C22373
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B288DC

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

Preview Lab → · Contrast checker → · Palette generator →

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