#B26BEF#B26BEF

#B26BEF is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.2% C 0.196 H 306.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B26BEF
RGBrgb(178, 107, 239)
HSLhsl(272, 80%, 68%)
HSVhsv(272, 55%, 94%)
CMYKcmyk(25.5%, 55.2%, 0%, 6.3%)
CIE-LABlab(58.24, 52.17, -55.90)
CIE-LCHlch(58.24, 76.46, 313.02°)
OKLaboklab(66.2% 0.117 -0.1573)
OKLCHoklch(66.2% 0.196 306.6)
XYZxyz(39.1945, 26.2127, 84.6394)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BEF #A8EF6B
analogous
#706BEF #B26BEF #EF6BEA
triadic
#B26BEF #EFB26B #6BEFB2
tetradic
#B26BEF #EF706B #A8EF6B #6BEAEF
square
#B26BEF #EF706B #A8EF6B #6BEAEF
split-complementary
#B26BEF #EAEF6B #6BEF70
monochromatic
#7716CA #9534E9 #B26BEF #CFA2F5 #EBD9FB

Accessibility & contrast

On white

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

On black

6.24
#B26BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BEF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BEF#FFFFFF#000000##000000
##B26BEF1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF3
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#A884A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26bef;
/* rgb */ color: rgb(178, 107, 239);
/* oklch */ color: oklch(66.2% 0.196 306.6);
Tailwind
colors: {
  custom: {
    50: '#cc98f5',
    500: '#b26bef',
    950: '#000000',
  },
}
SCSS
$custom: #b26bef;
$custom-light: #cc98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bef",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 272.273,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66202,
    "c": 0.19609,
    "h": 306.6
  },
  "luminance": 0.26212
}

Semantic roles & 50–950 ramp

primary
#B26BEF
secondary
#D9EFC7
accent
#DD096B
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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