#B26BE9#B26BE9

#B26BE9 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.189 H 308.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B26BE9
RGBrgb(178, 107, 233)
HSLhsl(274, 74%, 67%)
HSVhsv(274, 54%, 91%)
CMYKcmyk(23.6%, 54.1%, 0%, 8.6%)
CIE-LABlab(57.91, 50.81, -53.08)
CIE-LCHlch(57.91, 73.48, 313.75°)
OKLaboklab(65.85% 0.1168 -0.1491)
OKLCHoklch(65.85% 0.189 308.1)
XYZxyz(38.3228, 25.8641, 80.0484)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BE9 #A2E96B
analogous
#736BE9 #B26BE9 #E96BE1
triadic
#B26BE9 #E9B26B #6BE9B2
tetradic
#B26BE9 #E9736B #A2E96B #6BE1E9
square
#B26BE9 #E9736B #A2E96B #6BE1E9
split-complementary
#B26BE9 #E1E96B #6BE973
monochromatic
#771CBD #9636E1 #B26BE9 #CEA0F1 #E9D6F9

Accessibility & contrast

On white

3.40
#B26BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B26BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BE9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BE9#FFFFFF#000000##000000
##B26BE91.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4388ED
Deuteranopia (green-blind)
#5B8CE6
Tritanopia (blue-blind)
#AA82A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26be9;
/* rgb */ color: rgb(178, 107, 233);
/* oklch */ color: oklch(65.9% 0.189 308.1);
Tailwind
colors: {
  custom: {
    50: '#cc98f0',
    500: '#b26be9',
    950: '#000000',
  },
}
SCSS
$custom: #b26be9;
$custom-light: #cc98f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b26be9",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 233
  },
  "hsl": {
    "h": 273.81,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.18938,
    "h": 308.1
  },
  "luminance": 0.25864
}

Semantic roles & 50–950 ramp

primary
#B26BE9
secondary
#D5ECC4
accent
#D60F66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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