#B26AEB#B26AEB

#B26AEB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.8% C 0.193 H 307.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B26AEB
RGBrgb(178, 106, 235)
HSLhsl(273, 76%, 67%)
HSVhsv(273, 55%, 92%)
CMYKcmyk(24.3%, 54.9%, 0%, 7.8%)
CIE-LABlab(57.82, 51.78, -54.34)
CIE-LCHlch(57.82, 75.06, 313.62°)
OKLaboklab(65.82% 0.1181 -0.1528)
OKLCHoklch(65.82% 0.193 307.7)
XYZxyz(38.5065, 25.7717, 81.5270)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AEB #A3EB6A
analogous
#726AEB #B26AEB #EB6AE4
triadic
#B26AEB #EBB26A #6AEBB2
tetradic
#B26AEB #EB726A #A3EB6A #6AE4EB
square
#B26AEB #EB726A #A3EB6A #6AE4EB
split-complementary
#B26AEB #E4EB6A #6AEB72
monochromatic
#771AC1 #9634E4 #B26AEB #CEA0F2 #EAD6F9

Accessibility & contrast

On white

3.41
#B26AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B26AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AEB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AEB#FFFFFF#000000##000000
##B26AEB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#AA82A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26aeb;
/* rgb */ color: rgb(178, 106, 235);
/* oklch */ color: oklch(65.8% 0.193 307.7);
Tailwind
colors: {
  custom: {
    50: '#cc97f2',
    500: '#b26aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b26aeb;
$custom-light: #cc97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b26aeb",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 273.488,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65823,
    "c": 0.19312,
    "h": 307.7
  },
  "luminance": 0.25771
}

Semantic roles & 50–950 ramp

primary
#B26AEB
secondary
#D6EDC4
accent
#D90D67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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