#B26BF2#B26BF2

#B26BF2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.4% C 0.199 H 306.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B26BF2
RGBrgb(178, 107, 242)
HSLhsl(272, 84%, 68%)
HSVhsv(272, 56%, 95%)
CMYKcmyk(26.4%, 55.8%, 0%, 5.1%)
CIE-LABlab(58.41, 52.85, -57.30)
CIE-LCHlch(58.41, 77.95, 312.69°)
OKLaboklab(66.38% 0.1171 -0.1614)
OKLCHoklch(66.38% 0.199 306)
XYZxyz(39.6414, 26.3915, 86.9929)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF2 #ABF26B
analogous
#6E6BF2 #B26BF2 #F26BEE
triadic
#B26BF2 #F2B26B #6BF2B2
tetradic
#B26BF2 #F26E6B #ABF26B #6BEEF2
square
#B26BF2 #F26E6B #ABF26B #6BEEF2
split-complementary
#B26BF2 #EEF26B #6BF26E
monochromatic
#7612D0 #9533ED #B26BF2 #CFA3F7 #EDDCFC

Accessibility & contrast

On white

3.34
#B26BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B26BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BF2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BF2#FFFFFF#000000##000000
##B26BF21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#A785A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26bf2;
/* rgb */ color: rgb(178, 107, 242);
/* oklch */ color: oklch(66.4% 0.199 306.0);
Tailwind
colors: {
  custom: {
    50: '#cc98f7',
    500: '#b26bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf2;
$custom-light: #cc98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf2",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 271.556,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6638,
    "c": 0.19944,
    "h": 306
  },
  "luminance": 0.26391
}

Semantic roles & 50–950 ramp

primary
#B26BF2
secondary
#DBF1C8
accent
#E0056D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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