#B26BDA#B26BDA

#B26BDA is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.0% C 0.173 H 312.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B26BDA
RGBrgb(178, 107, 218)
HSLhsl(278, 60%, 64%)
HSVhsv(278, 51%, 85%)
CMYKcmyk(18.3%, 50.9%, 0%, 14.5%)
CIE-LABlab(57.12, 47.51, -45.92)
CIE-LCHlch(57.12, 66.07, 315.97°)
OKLaboklab(65.01% 0.1156 -0.1282)
OKLCHoklch(65.01% 0.173 312)
XYZxyz(36.2705, 25.0431, 69.2392)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BDA #93DA6B
analogous
#7A6BDA #B26BDA #DA6BCA
triadic
#B26BDA #DAB26B #6BDAB2
tetradic
#B26BDA #DA7A6B #93DA6B #6BCADA
square
#B26BDA #DA7A6B #93DA6B #6BCADA
split-complementary
#B26BDA #CADA6B #6BDA7A
monochromatic
#7629A2 #993ACE #B26BDA #CB9CE6 #E5CDF2

Accessibility & contrast

On white

3.50
#B26BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B26BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BDA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BDA#FFFFFF#000000##000000
##B26BDA1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DE
Deuteranopia (green-blind)
#658BD7
Tritanopia (blue-blind)
#AE7D99
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b26bda;
/* rgb */ color: rgb(178, 107, 218);
/* oklch */ color: oklch(65.0% 0.173 312.0);
Tailwind
colors: {
  custom: {
    50: '#cb97e6',
    500: '#b26bda',
    950: '#000000',
  },
}
SCSS
$custom: #b26bda;
$custom-light: #cb97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bda",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 278.378,
    "s": 60,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65012,
    "c": 0.17266,
    "h": 312
  },
  "luminance": 0.25042
}

Semantic roles & 50–950 ramp

primary
#B26BDA
secondary
#CBE4BD
accent
#C81E5B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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