#B26DEE#B26DEE

#B26DEE is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.4% C 0.192 H 306.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B26DEE
RGBrgb(178, 109, 238)
HSLhsl(272, 79%, 68%)
HSVhsv(272, 54%, 93%)
CMYKcmyk(25.2%, 54.2%, 0%, 6.7%)
CIE-LABlab(58.58, 50.90, -54.80)
CIE-LCHlch(58.58, 74.79, 312.89°)
OKLaboklab(66.44% 0.1145 -0.1541)
OKLCHoklch(66.44% 0.192 306.6)
XYZxyz(39.2582, 26.5757, 83.9338)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DEE #A9EE6D
analogous
#716DEE #B26DEE #EE6DE9
triadic
#B26DEE #EEB26D #6DEEB2
tetradic
#B26DEE #EE716D #A9EE6D #6DE9EE
square
#B26DEE #EE716D #A9EE6D #6DE9EE
split-complementary
#B26DEE #E9EE6D #6DEE71
monochromatic
#7617C9 #9536E8 #B26DEE #CFA4F4 #ECDBFB

Accessibility & contrast

On white

3.33
#B26DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B26DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DEE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DEE#FFFFFF#000000##000000
##B26DEE1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#A985A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26dee;
/* rgb */ color: rgb(178, 109, 238);
/* oklch */ color: oklch(66.4% 0.192 306.6);
Tailwind
colors: {
  custom: {
    50: '#cc99f4',
    500: '#b26dee',
    950: '#000000',
  },
}
SCSS
$custom: #b26dee;
$custom-light: #cc99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b26dee",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 272.093,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.19198,
    "h": 306.6
  },
  "luminance": 0.26575
}

Semantic roles & 50–950 ramp

primary
#B26DEE
secondary
#DAEFC8
accent
#DB0A6B
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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