#B26DEB#B26DEB

#B26DEB is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.189 H 307.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B26DEB
RGBrgb(178, 109, 235)
HSLhsl(273, 76%, 67%)
HSVhsv(273, 54%, 92%)
CMYKcmyk(24.3%, 53.6%, 0%, 7.8%)
CIE-LABlab(58.42, 50.22, -53.39)
CIE-LCHlch(58.42, 73.29, 313.25°)
OKLaboklab(66.26% 0.1143 -0.15)
OKLCHoklch(66.26% 0.189 307.3)
XYZxyz(38.8211, 26.4009, 81.6319)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DEB #A6EB6D
analogous
#736DEB #B26DEB #EB6DE5
triadic
#B26DEB #EBB26D #6DEBB2
tetradic
#B26DEB #EB736D #A6EB6D #6DE5EB
square
#B26DEB #EB736D #A6EB6D #6DE5EB
split-complementary
#B26DEB #E5EB6D #6DEB73
monochromatic
#771BC3 #9637E4 #B26DEB #CEA3F2 #EBD9FA

Accessibility & contrast

On white

3.34
#B26DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B26DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DEB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DEB#FFFFFF#000000##000000
##B26DEB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#A984A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26deb;
/* rgb */ color: rgb(178, 109, 235);
/* oklch */ color: oklch(66.3% 0.189 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc99f2',
    500: '#b26deb',
    950: '#000000',
  },
}
SCSS
$custom: #b26deb;
$custom-light: #cc99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b26deb",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 272.857,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.18859,
    "h": 307.3
  },
  "luminance": 0.264
}

Semantic roles & 50–950 ramp

primary
#B26DEB
secondary
#D8EEC6
accent
#D80D69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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