#B26DFF#B26DFF

#B26DFF is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.5% C 0.211 H 303.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B26DFF
RGBrgb(178, 109, 255)
HSLhsl(268, 100%, 71%)
HSVhsv(268, 57%, 100%)
CMYKcmyk(30.2%, 57.3%, 0%, 0%)
CIE-LABlab(59.55, 54.83, -62.66)
CIE-LCHlch(59.55, 83.26, 311.19°)
OKLaboklab(67.46% 0.1149 -0.1772)
OKLCHoklch(67.46% 0.211 303)
XYZxyz(41.8746, 27.6223, 97.7139)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DFF #BAFF6D
analogous
#6D71FF #B26DFF #FB6DFF
triadic
#B26DFF #FFB26D #6DFFB2
tetradic
#B26DFF #FF6D71 #BAFF6D #6DFFFB
square
#B26DFF #FF6D71 #BAFF6D #6DFFFB
split-complementary
#B26DFF #FFFB6D #71FF6D
monochromatic
#7200F2 #9230FF #B26DFF #D2AAFF #EFE0FF

Accessibility & contrast

On white

3.22
#B26DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B26DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DFF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DFF#FFFFFF#000000##000000
##B26DFF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8EFF
Deuteranopia (green-blind)
#498FFC
Tritanopia (blue-blind)
#A38AAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b26dff;
/* rgb */ color: rgb(178, 109, 255);
/* oklch */ color: oklch(67.5% 0.211 303.0);
Tailwind
colors: {
  custom: {
    50: '#cd99ff',
    500: '#b26dff',
    950: '#000000',
  },
}
SCSS
$custom: #b26dff;
$custom-light: #cd99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26dff",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 268.356,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67455,
    "c": 0.21115,
    "h": 303
  },
  "luminance": 0.27622
}

Semantic roles & 50–950 ramp

primary
#B26DFF
secondary
#E5F7D1
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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