#B26AEE#B26AEE

#B26AEE is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.196 H 307.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B26AEE
RGBrgb(178, 106, 238)
HSLhsl(273, 80%, 67%)
HSVhsv(273, 55%, 93%)
CMYKcmyk(25.2%, 55.5%, 0%, 6.7%)
CIE-LABlab(57.99, 52.46, -55.74)
CIE-LCHlch(57.99, 76.55, 313.26°)
OKLaboklab(66% 0.1182 -0.1569)
OKLCHoklch(66% 0.196 307)
XYZxyz(38.9436, 25.9465, 83.8289)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AEE #A6EE6A
analogous
#706AEE #B26AEE #EE6AE8
triadic
#B26AEE #EEB26A #6AEEB2
tetradic
#B26AEE #EE706A #A6EE6A #6AE8EE
square
#B26AEE #EE706A #A6EE6A #6AE8EE
split-complementary
#B26AEE #E8EE6A #6AEE70
monochromatic
#7717C7 #9633E8 #B26AEE #CEA1F4 #EBD8FB

Accessibility & contrast

On white

3.39
#B26AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B26AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AEE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AEE#FFFFFF#000000##000000
##B26AEE1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F2
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#A983A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26aee;
/* rgb */ color: rgb(178, 106, 238);
/* oklch */ color: oklch(66.0% 0.196 307.0);
Tailwind
colors: {
  custom: {
    50: '#cc97f4',
    500: '#b26aee',
    950: '#000000',
  },
}
SCSS
$custom: #b26aee;
$custom-light: #cc97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b26aee",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 272.727,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65999,
    "c": 0.19646,
    "h": 307
  },
  "luminance": 0.25946
}

Semantic roles & 50–950 ramp

primary
#B26AEE
secondary
#D8EFC5
accent
#DC0A69
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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