#B26DF8#B26DF8

#B26DF8 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.0% C 0.203 H 304.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B26DF8
RGBrgb(178, 109, 248)
HSLhsl(270, 91%, 70%)
HSVhsv(270, 56%, 97%)
CMYKcmyk(28.2%, 56%, 0%, 2.7%)
CIE-LABlab(59.14, 53.20, -59.45)
CIE-LCHlch(59.14, 79.77, 311.82°)
OKLaboklab(67.03% 0.1148 -0.1678)
OKLCHoklch(67.03% 0.203 304.4)
XYZxyz(40.7683, 27.1797, 91.8872)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DF8 #B3F86D
analogous
#6D6EF8 #B26DF8 #F76DF8
triadic
#B26DF8 #F8B26D #6DF8B2
tetradic
#B26DF8 #F86D6E #B3F86D #6DF8F7
square
#B26DF8 #F86D6E #B3F86D #6DF8F7
split-complementary
#B26DF8 #F8F76D #6EF86D
monochromatic
#750BE0 #9333F5 #B26DF8 #D1A7FB #F0E2FE

Accessibility & contrast

On white

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

On black

6.44
#B26DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DF8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DF8#FFFFFF#000000##000000
##B26DF81.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#A688A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26df8;
/* rgb */ color: rgb(178, 109, 248);
/* oklch */ color: oklch(67.0% 0.203 304.4);
Tailwind
colors: {
  custom: {
    50: '#cd99fb',
    500: '#b26df8',
    950: '#000000',
  },
}
SCSS
$custom: #b26df8;
$custom-light: #cd99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b26df8",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 269.784,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.67028,
    "c": 0.20327,
    "h": 304.4
  },
  "luminance": 0.2718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B26DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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