#B26DFD#B26DFD

#B26DFD is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.3% C 0.209 H 303.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B26DFD
RGBrgb(178, 109, 253)
HSLhsl(269, 97%, 71%)
HSVhsv(269, 57%, 99%)
CMYKcmyk(29.6%, 56.9%, 0%, 0.8%)
CIE-LABlab(59.43, 54.36, -61.75)
CIE-LCHlch(59.43, 82.27, 311.36°)
OKLaboklab(67.33% 0.1148 -0.1745)
OKLCHoklch(67.33% 0.209 303.3)
XYZxyz(41.5544, 27.4942, 96.0272)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DFD #B8FD6D
analogous
#6D70FD #B26DFD #FA6DFD
triadic
#B26DFD #FDB26D #6DFDB2
tetradic
#B26DFD #FD6D70 #B8FD6D #6DFDFA
square
#B26DFD #FD6D70 #B8FD6D #6DFDFA
split-complementary
#B26DFD #FDFA6D #70FD6D
monochromatic
#7303EC #9231FC #B26DFD #D2A9FE #EFE1FF

Accessibility & contrast

On white

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

On black

6.50
#B26DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DFD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DFD#FFFFFF#000000##000000
##B26DFD1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b26dfd;
/* rgb */ color: rgb(178, 109, 253);
/* oklch */ color: oklch(67.3% 0.209 303.3);
Tailwind
colors: {
  custom: {
    50: '#cd99ff',
    500: '#b26dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b26dfd;
$custom-light: #cd99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26dfd",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 268.75,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.2089,
    "h": 303.3
  },
  "luminance": 0.27494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B26DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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