#B288CC#B288CC

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

Color values

HEX#B288CC
RGBrgb(178, 136, 204)
HSLhsl(277, 40%, 67%)
HSVhsv(277, 33%, 80%)
CMYKcmyk(12.7%, 33.3%, 0%, 20%)
CIE-LABlab(62.87, 28.58, -29.05)
CIE-LCHlch(62.87, 40.75, 314.53°)
OKLaboklab(69.13% 0.0717 -0.0798)
OKLCHoklch(69.13% 0.107 311.9)
XYZxyz(38.0615, 31.4335, 61.1772)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288CC #A2CC88
analogous
#9088CC #B288CC #CC88C4
triadic
#B288CC #CCB288 #88CCB2
tetradic
#B288CC #CC9088 #A2CC88 #88C4CC
square
#B288CC #CC9088 #A2CC88 #88C4CC
split-complementary
#B288CC #C4CC88 #88CC90
monochromatic
#774198 #965DBA #B288CC #CEB3DE #E9DEF1

Accessibility & contrast

On white

2.88
#B288CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B288CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288CC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288CC#FFFFFF#000000##000000
##B288CC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96CF
Deuteranopia (green-blind)
#8699CA
Tritanopia (blue-blind)
#B091A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b288cc;
/* rgb */ color: rgb(178, 136, 204);
/* oklch */ color: oklch(69.1% 0.107 311.9);
Tailwind
colors: {
  custom: {
    50: '#caabdb',
    500: '#b288cc',
    950: '#000000',
  },
}
SCSS
$custom: #b288cc;
$custom-light: #caabdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b288cc",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 204
  },
  "hsl": {
    "h": 277.059,
    "s": 40,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69126,
    "c": 0.10726,
    "h": 311.9
  },
  "luminance": 0.31433
}

Semantic roles & 50–950 ramp

primary
#B288CC
secondary
#D5E3CD
accent
#B33264
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B288CC

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

Preview Lab → · Contrast checker → · Palette generator →

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