#B26BEC#B26BEC

#B26BEC is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.0% C 0.193 H 307.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B26BEC
RGBrgb(178, 107, 236)
HSLhsl(273, 77%, 67%)
HSVhsv(273, 55%, 93%)
CMYKcmyk(24.6%, 54.7%, 0%, 7.5%)
CIE-LABlab(58.07, 51.49, -54.49)
CIE-LCHlch(58.07, 74.97, 313.38°)
OKLaboklab(66.03% 0.1169 -0.1532)
OKLCHoklch(66.03% 0.193 307.3)
XYZxyz(38.7550, 26.0369, 82.3246)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BEC #A5EC6B
analogous
#716BEC #B26BEC #EC6BE6
triadic
#B26BEC #ECB26B #6BECB2
tetradic
#B26BEC #EC716B #A5EC6B #6BE6EC
square
#B26BEC #EC716B #A5EC6B #6BE6EC
split-complementary
#B26BEC #E6EC6B #6BEC71
monochromatic
#7719C4 #9635E5 #B26BEC #CEA1F3 #EAD7FA

Accessibility & contrast

On white

3.38
#B26BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B26BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BEC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BEC#FFFFFF#000000##000000
##B26BEC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#598CE9
Tritanopia (blue-blind)
#A983A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26bec;
/* rgb */ color: rgb(178, 107, 236);
/* oklch */ color: oklch(66.0% 0.193 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc98f3',
    500: '#b26bec',
    950: '#000000',
  },
}
SCSS
$custom: #b26bec;
$custom-light: #cc98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bec",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 273.023,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.19274,
    "h": 307.3
  },
  "luminance": 0.26036
}

Semantic roles & 50–950 ramp

primary
#B26BEC
secondary
#D7EEC5
accent
#D90C68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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