#B288CB#B288CB

#B288CB is a light, moderate violet. Relative luminance 0.314; OKLCH L 69.1% C 0.106 H 312.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B288CB
RGBrgb(178, 136, 203)
HSLhsl(278, 39%, 66%)
HSVhsv(278, 33%, 80%)
CMYKcmyk(12.3%, 33%, 0%, 20.4%)
CIE-LABlab(62.83, 28.36, -28.55)
CIE-LCHlch(62.83, 40.24, 314.81°)
OKLaboklab(69.08% 0.0715 -0.0784)
OKLCHoklch(69.08% 0.106 312.4)
XYZxyz(37.9419, 31.3857, 60.5476)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288CB #A1CB88
analogous
#9188CB #B288CB #CB88C3
triadic
#B288CB #CBB288 #88CBB2
tetradic
#B288CB #CB9188 #A1CB88 #88C3CB
square
#B288CB #CB9188 #A1CB88 #88C3CB
split-complementary
#B288CB #C3CB88 #88CB91
monochromatic
#774297 #965DB8 #B288CB #CEB3DE #E9DDF0

Accessibility & contrast

On white

2.89
#B288CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B288CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288CB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288CB#FFFFFF#000000##000000
##B288CB1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#8699C9
Tritanopia (blue-blind)
#B091A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b288cb;
/* rgb */ color: rgb(178, 136, 203);
/* oklch */ color: oklch(69.1% 0.106 312.4);
Tailwind
colors: {
  custom: {
    50: '#caabdb',
    500: '#b288cb',
    950: '#000000',
  },
}
SCSS
$custom: #b288cb;
$custom-light: #caabdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b288cb",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 203
  },
  "hsl": {
    "h": 277.612,
    "s": 39.181,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69082,
    "c": 0.10604,
    "h": 312.4
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#B288CB
secondary
#D5E2CD
accent
#B23363
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B288CB

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

Preview Lab → · Contrast checker → · Palette generator →

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