#B26DFC#B26DFC

#B26DFC is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.3% C 0.208 H 303.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B26DFC
RGBrgb(178, 109, 252)
HSLhsl(269, 96%, 71%)
HSVhsv(269, 57%, 99%)
CMYKcmyk(29.4%, 56.7%, 0%, 1.2%)
CIE-LABlab(59.37, 54.13, -61.29)
CIE-LCHlch(59.37, 81.77, 311.45°)
OKLaboklab(67.27% 0.1148 -0.1731)
OKLCHoklch(67.27% 0.208 303.6)
XYZxyz(41.3955, 27.4306, 95.1904)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DFC #B7FC6D
analogous
#6D6FFC #B26DFC #F96DFC
triadic
#B26DFC #FCB26D #6DFCB2
tetradic
#B26DFC #FC6D6F #B7FC6D #6DFCF9
square
#B26DFC #FC6D6F #B7FC6D #6DFCF9
split-complementary
#B26DFC #FCF96D #6FFC6D
monochromatic
#7305EA #9231FB #B26DFC #D2A9FD #EFE1FE

Accessibility & contrast

On white

3.24
#B26DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B26DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DFC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DFC#FFFFFF#000000##000000
##B26DFC1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#A489AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b26dfc;
/* rgb */ color: rgb(178, 109, 252);
/* oklch */ color: oklch(67.3% 0.208 303.6);
Tailwind
colors: {
  custom: {
    50: '#cd99fe',
    500: '#b26dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b26dfc;
$custom-light: #cd99fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b26dfc",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 268.951,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67271,
    "c": 0.20777,
    "h": 303.6
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#B26DFC
secondary
#E3F6CF
accent
#E60077
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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