#B26EEB#B26EEB

#B26EEB is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.4% C 0.187 H 307.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B26EEB
RGBrgb(178, 110, 235)
HSLhsl(273, 76%, 68%)
HSVhsv(273, 53%, 92%)
CMYKcmyk(24.3%, 53.2%, 0%, 7.8%)
CIE-LABlab(58.62, 49.69, -53.07)
CIE-LCHlch(58.62, 72.70, 313.12°)
OKLaboklab(66.41% 0.113 -0.1491)
OKLCHoklch(66.41% 0.187 307.2)
XYZxyz(38.9284, 26.6154, 81.6677)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26EEB #A7EB6E
analogous
#736EEB #B26EEB #EB6EE6
triadic
#B26EEB #EBB26E #6EEBB2
tetradic
#B26EEB #EB736E #A7EB6E #6EE6EB
square
#B26EEB #EB736E #A7EB6E #6EE6EB
split-complementary
#B26EEB #E6EB6E #6EEB73
monochromatic
#771BC4 #9538E4 #B26EEB #CFA4F2 #EBDAFA

Accessibility & contrast

On white

3.32
#B26EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B26EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26EEB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26EEB#FFFFFF#000000##000000
##B26EEB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#A985A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26eeb;
/* rgb */ color: rgb(178, 110, 235);
/* oklch */ color: oklch(66.4% 0.187 307.2);
Tailwind
colors: {
  custom: {
    50: '#cc9af2',
    500: '#b26eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b26eeb;
$custom-light: #cc9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b26eeb",
  "rgb": {
    "r": 178,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 272.64,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66409,
    "c": 0.18707,
    "h": 307.2
  },
  "luminance": 0.26615
}

Semantic roles & 50–950 ramp

primary
#B26EEB
secondary
#D9EEC7
accent
#D80E6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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