#B26DF9#B26DF9

#B26DF9 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.1% C 0.204 H 304.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B26DF9
RGBrgb(178, 109, 249)
HSLhsl(270, 92%, 70%)
HSVhsv(270, 56%, 98%)
CMYKcmyk(28.5%, 56.2%, 0%, 2.4%)
CIE-LABlab(59.20, 53.43, -59.91)
CIE-LCHlch(59.20, 80.27, 311.73°)
OKLaboklab(67.09% 0.1148 -0.1691)
OKLCHoklch(67.09% 0.204 304.2)
XYZxyz(40.9238, 27.2420, 92.7064)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DF9 #B4F96D
analogous
#6D6EF9 #B26DF9 #F86DF9
triadic
#B26DF9 #F9B26D #6DF9B2
tetradic
#B26DF9 #F96D6E #B4F96D #6DF9F8
square
#B26DF9 #F96D6E #B4F96D #6DF9F8
split-complementary
#B26DF9 #F9F86D #6EF96D
monochromatic
#7409E2 #9332F7 #B26DF9 #D1A8FB #EFE2FE

Accessibility & contrast

On white

3.26
#B26DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B26DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DF9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DF9#FFFFFF#000000##000000
##B26DF91.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFE
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#A588A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26df9;
/* rgb */ color: rgb(178, 109, 249);
/* oklch */ color: oklch(67.1% 0.204 304.2);
Tailwind
colors: {
  custom: {
    50: '#cd99fc',
    500: '#b26df9',
    950: '#000000',
  },
}
SCSS
$custom: #b26df9;
$custom-light: #cd99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b26df9",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 269.571,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67088,
    "c": 0.20439,
    "h": 304.2
  },
  "luminance": 0.27242
}

Semantic roles & 50–950 ramp

primary
#B26DF9
secondary
#E1F4CD
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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