#B26BEE#B26BEE

#B26BEE is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.195 H 306.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B26BEE
RGBrgb(178, 107, 238)
HSLhsl(273, 79%, 68%)
HSVhsv(273, 55%, 93%)
CMYKcmyk(25.2%, 55%, 0%, 6.7%)
CIE-LABlab(58.18, 51.94, -55.43)
CIE-LCHlch(58.18, 75.96, 313.14°)
OKLaboklab(66.14% 0.117 -0.156)
OKLCHoklch(66.14% 0.195 306.9)
XYZxyz(39.0472, 26.1538, 83.8635)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BEE #A7EE6B
analogous
#706BEE #B26BEE #EE6BE9
triadic
#B26BEE #EEB26B #6BEEB2
tetradic
#B26BEE #EE706B #A7EE6B #6BE9EE
square
#B26BEE #EE706B #A7EE6B #6BE9EE
split-complementary
#B26BEE #E9EE6B #6BEE70
monochromatic
#7717C8 #9534E8 #B26BEE #CFA2F4 #EBD9FB

Accessibility & contrast

On white

3.37
#B26BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B26BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BEE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BEE#FFFFFF#000000##000000
##B26BEE1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#578CEB
Tritanopia (blue-blind)
#A983A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26bee;
/* rgb */ color: rgb(178, 107, 238);
/* oklch */ color: oklch(66.1% 0.195 306.9);
Tailwind
colors: {
  custom: {
    50: '#cc98f4',
    500: '#b26bee',
    950: '#000000',
  },
}
SCSS
$custom: #b26bee;
$custom-light: #cc98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bee",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 272.519,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66143,
    "c": 0.19497,
    "h": 306.9
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#B26BEE
secondary
#D9EFC6
accent
#DC0A6A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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