#B26FE8#B26FE8

#B26FE8 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.182 H 307.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B26FE8
RGBrgb(178, 111, 232)
HSLhsl(273, 72%, 67%)
HSVhsv(273, 52%, 91%)
CMYKcmyk(23.3%, 52.2%, 0%, 9%)
CIE-LABlab(58.66, 48.49, -51.33)
CIE-LCHlch(58.66, 70.61, 313.37°)
OKLaboklab(66.39% 0.1115 -0.144)
OKLCHoklch(66.39% 0.182 307.8)
XYZxyz(38.6071, 26.6605, 79.4404)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FE8 #A5E86F
analogous
#766FE8 #B26FE8 #E86FE2
triadic
#B26FE8 #E8B26F #6FE8B2
tetradic
#B26FE8 #E8766F #A5E86F #6FE2E8
square
#B26FE8 #E8766F #A5E86F #6FE2E8
split-complementary
#B26FE8 #E2E86F #6FE876
monochromatic
#771EBE #963AE0 #B26FE8 #CEA4F0 #EAD9F9

Accessibility & contrast

On white

3.32
#B26FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B26FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FE8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FE8#FFFFFF#000000##000000
##B26FE81.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEC
Deuteranopia (green-blind)
#608EE5
Tritanopia (blue-blind)
#AA84A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26fe8;
/* rgb */ color: rgb(178, 111, 232);
/* oklch */ color: oklch(66.4% 0.182 307.8);
Tailwind
colors: {
  custom: {
    50: '#cc9af0',
    500: '#b26fe8',
    950: '#000000',
  },
}
SCSS
$custom: #b26fe8;
$custom-light: #cc9af0;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fe8",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 273.223,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.18213,
    "h": 307.8
  },
  "luminance": 0.2666
}

Semantic roles & 50–950 ramp

primary
#B26FE8
secondary
#D7ECC6
accent
#D51168
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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