#B26DFE#B26DFE

#B26DFE is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.4% C 0.210 H 303.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B26DFE
RGBrgb(178, 109, 254)
HSLhsl(269, 99%, 71%)
HSVhsv(269, 57%, 100%)
CMYKcmyk(29.9%, 57.1%, 0%, 0.4%)
CIE-LABlab(59.49, 54.60, -62.20)
CIE-LCHlch(59.49, 82.77, 311.27°)
OKLaboklab(67.39% 0.1149 -0.1758)
OKLCHoklch(67.39% 0.21 303.2)
XYZxyz(41.7141, 27.5580, 96.8683)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DFE #B9FE6D
analogous
#6D70FE #B26DFE #FB6DFE
triadic
#B26DFE #FEB26D #6DFEB2
tetradic
#B26DFE #FE6D70 #B9FE6D #6DFEFB
square
#B26DFE #FE6D70 #B9FE6D #6DFEFB
split-complementary
#B26DFE #FEFB6D #70FE6D
monochromatic
#7302EF #9230FE #B26DFE #D2AAFE #EFE1FF

Accessibility & contrast

On white

3.23
#B26DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B26DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DFE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DFE#FFFFFF#000000##000000
##B26DFE1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#A48AAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b26dfe;
/* rgb */ color: rgb(178, 109, 254);
/* oklch */ color: oklch(67.4% 0.210 303.2);
Tailwind
colors: {
  custom: {
    50: '#cd99ff',
    500: '#b26dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b26dfe;
$custom-light: #cd99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26dfe",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 268.552,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67394,
    "c": 0.21002,
    "h": 303.2
  },
  "luminance": 0.27558
}

Semantic roles & 50–950 ramp

primary
#B26DFE
secondary
#E4F6D0
accent
#E60078
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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