#B26FEB#B26FEB

#B26FEB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.186 H 307.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B26FEB
RGBrgb(178, 111, 235)
HSLhsl(272, 76%, 68%)
HSVhsv(272, 53%, 92%)
CMYKcmyk(24.3%, 52.8%, 0%, 7.8%)
CIE-LABlab(58.82, 49.17, -52.74)
CIE-LCHlch(58.82, 72.11, 312.99°)
OKLaboklab(66.56% 0.1117 -0.1481)
OKLCHoklch(66.56% 0.186 307)
XYZxyz(39.0369, 26.8324, 81.7038)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FEB #A8EB6F
analogous
#746FEB #B26FEB #EB6FE6
triadic
#B26FEB #EBB26F #6FEBB2
tetradic
#B26FEB #EB746F #A8EB6F #6FE6EB
square
#B26FEB #EB746F #A8EB6F #6FE6EB
split-complementary
#B26FEB #E6EB6F #6FEB74
monochromatic
#771BC4 #9539E4 #B26FEB #CFA5F2 #EBDAFA

Accessibility & contrast

On white

3.30
#B26FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B26FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FEB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FEB#FFFFFF#000000##000000
##B26FEB1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#A985A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26feb;
/* rgb */ color: rgb(178, 111, 235);
/* oklch */ color: oklch(66.6% 0.186 307.0);
Tailwind
colors: {
  custom: {
    50: '#cc9af2',
    500: '#b26feb',
    950: '#000000',
  },
}
SCSS
$custom: #b26feb;
$custom-light: #cc9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b26feb",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 272.419,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66559,
    "c": 0.18554,
    "h": 307
  },
  "luminance": 0.26832
}

Semantic roles & 50–950 ramp

primary
#B26FEB
secondary
#D9EEC8
accent
#D80E6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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