#B26AED#B26AED

#B26AED is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.195 H 307.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B26AED
RGBrgb(178, 106, 237)
HSLhsl(273, 78%, 67%)
HSVhsv(273, 55%, 93%)
CMYKcmyk(24.9%, 55.3%, 0%, 7.1%)
CIE-LABlab(57.93, 52.23, -55.27)
CIE-LCHlch(57.93, 76.05, 313.38°)
OKLaboklab(65.94% 0.1182 -0.1555)
OKLCHoklch(65.94% 0.195 307.2)
XYZxyz(38.7971, 25.8879, 83.0574)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AED #A5ED6A
analogous
#716AED #B26AED #ED6AE7
triadic
#B26AED #EDB26A #6AEDB2
tetradic
#B26AED #ED716A #A5ED6A #6AE7ED
square
#B26AED #ED716A #A5ED6A #6AE7ED
split-complementary
#B26AED #E7ED6A #6AED71
monochromatic
#7718C5 #9633E6 #B26AED #CEA1F4 #EAD7FA

Accessibility & contrast

On white

3.40
#B26AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B26AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AED
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AED#FFFFFF#000000##000000
##B26AED1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F1
Deuteranopia (green-blind)
#578CEA
Tritanopia (blue-blind)
#A982A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26aed;
/* rgb */ color: rgb(178, 106, 237);
/* oklch */ color: oklch(65.9% 0.195 307.2);
Tailwind
colors: {
  custom: {
    50: '#cc97f3',
    500: '#b26aed',
    950: '#000000',
  },
}
SCSS
$custom: #b26aed;
$custom-light: #cc97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b26aed",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 272.977,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6594,
    "c": 0.19535,
    "h": 307.2
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B26AED

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

Preview Lab → · Contrast checker → · Palette generator →

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