#B788FA#B788FA

#B788FA is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.8% C 0.166 H 301.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B788FA
RGBrgb(183, 136, 250)
HSLhsl(265, 92%, 76%)
HSVhsv(265, 46%, 98%)
CMYKcmyk(26.8%, 45.6%, 0%, 2%)
CIE-LABlab(65.42, 40.43, -50.53)
CIE-LCHlch(65.42, 64.72, 308.67°)
OKLaboklab(71.84% 0.0864 -0.1416)
OKLCHoklch(71.84% 0.166 301.4)
XYZxyz(45.5840, 34.5776, 94.6966)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B788FA #CBFA88
analogous
#8892FA #B788FA #F088FA
triadic
#B788FA #FAB788 #88FAB7
tetradic
#B788FA #FA8892 #CBFA88 #88FAF0
square
#B788FA #FA8892 #CBFA88 #88FAF0
split-complementary
#B788FA #FAF088 #92FA88
monochromatic
#7013F5 #934DF8 #B788FA #DBC3FC #EDE2FE

Accessibility & contrast

On white

2.65
#B788FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B788FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B788FA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B788FA#FFFFFF#000000##000000
##B788FA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#AB9CB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b788fa;
/* rgb */ color: rgb(183, 136, 250);
/* oklch */ color: oklch(71.8% 0.166 301.4);
Tailwind
colors: {
  custom: {
    50: '#cfabfc',
    500: '#b788fa',
    950: '#000000',
  },
}
SCSS
$custom: #b788fa;
$custom-light: #cfabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b788fa",
  "rgb": {
    "r": 183,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 264.737,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71837,
    "c": 0.16588,
    "h": 301.4
  },
  "luminance": 0.34578
}

Semantic roles & 50–950 ramp

primary
#B788FA
secondary
#E8F6D5
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B788FA

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

Preview Lab → · Contrast checker → · Palette generator →

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