#B288CA#B288CA

#B288CA is a light, moderate violet. Relative luminance 0.313; OKLCH L 69.0% C 0.105 H 312.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B288CA
RGBrgb(178, 136, 202)
HSLhsl(278, 38%, 66%)
HSVhsv(278, 33%, 79%)
CMYKcmyk(11.9%, 32.7%, 0%, 20.8%)
CIE-LABlab(62.79, 28.15, -28.05)
CIE-LCHlch(62.79, 39.74, 315.10°)
OKLaboklab(69.04% 0.0712 -0.0769)
OKLCHoklch(69.04% 0.105 312.8)
XYZxyz(37.8232, 31.3382, 59.9220)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288CA #A0CA88
analogous
#9188CA #B288CA #CA88C1
triadic
#B288CA #CAB288 #88CAB2
tetradic
#B288CA #CA9188 #A0CA88 #88C1CA
square
#B288CA #CA9188 #A0CA88 #88C1CA
split-complementary
#B288CA #C1CA88 #88CA91
monochromatic
#774295 #975EB7 #B288CA #CDB2DD #E9DDF0

Accessibility & contrast

On white

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

On black

7.27
#B288CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288CA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288CA#FFFFFF#000000##000000
##B288CA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CD
Deuteranopia (green-blind)
#8799C8
Tritanopia (blue-blind)
#B091A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b288ca;
/* rgb */ color: rgb(178, 136, 202);
/* oklch */ color: oklch(69.0% 0.105 312.8);
Tailwind
colors: {
  custom: {
    50: '#caabda',
    500: '#b288ca',
    950: '#000000',
  },
}
SCSS
$custom: #b288ca;
$custom-light: #caabda;
$custom-dark: #000000;
JSON
{
  "hex": "#b288ca",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 202
  },
  "hsl": {
    "h": 278.182,
    "s": 38.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69039,
    "c": 0.10482,
    "h": 312.8
  },
  "luminance": 0.31338
}

Semantic roles & 50–950 ramp

primary
#B288CA
secondary
#D4E2CC
accent
#B13462
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B288CA

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

Preview Lab → · Contrast checker → · Palette generator →

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