#B26BEA#B26BEA

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

Color values

HEX#B26BEA
RGBrgb(178, 107, 234)
HSLhsl(274, 75%, 67%)
HSVhsv(274, 54%, 92%)
CMYKcmyk(23.9%, 54.3%, 0%, 8.2%)
CIE-LABlab(57.96, 51.04, -53.55)
CIE-LCHlch(57.96, 73.98, 313.62°)
OKLaboklab(65.91% 0.1168 -0.1505)
OKLCHoklch(65.91% 0.191 307.8)
XYZxyz(38.4661, 25.9214, 80.8029)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BEA #A3EA6B
analogous
#736BEA #B26BEA #EA6BE3
triadic
#B26BEA #EAB26B #6BEAB2
tetradic
#B26BEA #EA736B #A3EA6B #6BE3EA
square
#B26BEA #EA736B #A3EA6B #6BE3EA
split-complementary
#B26BEA #E3EA6B #6BEA73
monochromatic
#771BBF #9635E2 #B26BEA #CEA1F2 #EAD6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B26BEA#FFFFFF#000000##000000
##B26BEA1.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)
#4289EE
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#AA82A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26bea;
/* rgb */ color: rgb(178, 107, 234);
/* oklch */ color: oklch(65.9% 0.191 307.8);
Tailwind
colors: {
  custom: {
    50: '#cc98f1',
    500: '#b26bea',
    950: '#000000',
  },
}
SCSS
$custom: #b26bea;
$custom-light: #cc98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bea",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 273.543,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.1905,
    "h": 307.8
  },
  "luminance": 0.25921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B26BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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