#B26BE4#B26BE4

#B26BE4 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.6% C 0.184 H 309.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B26BE4
RGBrgb(178, 107, 228)
HSLhsl(275, 69%, 66%)
HSVhsv(275, 53%, 89%)
CMYKcmyk(21.9%, 53.1%, 0%, 10.6%)
CIE-LABlab(57.64, 49.70, -50.71)
CIE-LCHlch(57.64, 71.01, 314.42°)
OKLaboklab(65.57% 0.1165 -0.1422)
OKLCHoklch(65.57% 0.184 309.3)
XYZxyz(37.6187, 25.5824, 76.3399)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BE4 #9DE46B
analogous
#756BE4 #B26BE4 #E46BD9
triadic
#B26BE4 #E4B26B #6BE4B2
tetradic
#B26BE4 #E4756B #9DE46B #6BD9E4
square
#B26BE4 #E4756B #9DE46B #6BD9E4
split-complementary
#B26BE4 #D9E46B #6BE475
monochromatic
#7721B4 #9737DB #B26BE4 #CD9FED #E8D3F7

Accessibility & contrast

On white

3.43
#B26BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B26BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BE4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BE4#FFFFFF#000000##000000
##B26BE41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#5F8CE1
Tritanopia (blue-blind)
#AB809D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b26be4;
/* rgb */ color: rgb(178, 107, 228);
/* oklch */ color: oklch(65.6% 0.184 309.3);
Tailwind
colors: {
  custom: {
    50: '#cc98ed',
    500: '#b26be4',
    950: '#000000',
  },
}
SCSS
$custom: #b26be4;
$custom-light: #cc98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b26be4",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 228
  },
  "hsl": {
    "h": 275.207,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65566,
    "c": 0.18379,
    "h": 309.3
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#B26BE4
secondary
#D2EAC1
accent
#D11462
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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