#B26BF0#B26BF0

#B26BF0 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.3% C 0.197 H 306.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B26BF0
RGBrgb(178, 107, 240)
HSLhsl(272, 82%, 68%)
HSVhsv(272, 55%, 94%)
CMYKcmyk(25.8%, 55.4%, 0%, 5.9%)
CIE-LABlab(58.29, 52.40, -56.36)
CIE-LCHlch(58.29, 76.96, 312.91°)
OKLaboklab(66.26% 0.1171 -0.1587)
OKLCHoklch(66.26% 0.197 306.4)
XYZxyz(39.3427, 26.2720, 85.4196)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF0 #A9F06B
analogous
#6F6BF0 #B26BF0 #F06BEB
triadic
#B26BF0 #F0B26B #6BF0B2
tetradic
#B26BF0 #F06F6B #A9F06B #6BEBF0
square
#B26BF0 #F06F6B #A9F06B #6BEBF0
split-complementary
#B26BF0 #EBF06B #6BF06F
monochromatic
#7615CC #9533EA #B26BF0 #CFA3F6 #ECDAFB

Accessibility & contrast

On white

3.36
#B26BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B26BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BF0
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BF0#FFFFFF#000000##000000
##B26BF01.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8AF4
Deuteranopia (green-blind)
#558DED
Tritanopia (blue-blind)
#A884A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26bf0;
/* rgb */ color: rgb(178, 107, 240);
/* oklch */ color: oklch(66.3% 0.197 306.4);
Tailwind
colors: {
  custom: {
    50: '#cc98f5',
    500: '#b26bf0',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf0;
$custom-light: #cc98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf0",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 272.03,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.19721,
    "h": 306.4
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#B26BF0
secondary
#DAF0C7
accent
#DE086B
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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