#B26BD2#B26BD2

#B26BD2 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.6% C 0.164 H 314.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B26BD2
RGBrgb(178, 107, 210)
HSLhsl(281, 53%, 62%)
HSVhsv(281, 49%, 82%)
CMYKcmyk(15.2%, 49%, 0%, 17.6%)
CIE-LABlab(56.72, 45.79, -42.04)
CIE-LCHlch(56.72, 62.16, 317.45°)
OKLaboklab(64.59% 0.1147 -0.1169)
OKLCHoklch(64.59% 0.164 314.5)
XYZxyz(35.2488, 24.6344, 63.8584)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BD2 #8BD26B
analogous
#7F6BD2 #B26BD2 #D26BBF
triadic
#B26BD2 #D2B26B #6BD2B2
tetradic
#B26BD2 #D27F6B #8BD26B #6BBFD2
square
#B26BD2 #D27F6B #8BD26B #6BBFD2
split-complementary
#B26BD2 #BFD26B #6BD27F
monochromatic
#752D95 #9A3CC4 #B26BD2 #CA9AE0 #E3C9EF

Accessibility & contrast

On white

3.54
#B26BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B26BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BD2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BD2#FFFFFF#000000##000000
##B26BD21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D6
Deuteranopia (green-blind)
#6A8ACF
Tritanopia (blue-blind)
#B07B95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b26bd2;
/* rgb */ color: rgb(178, 107, 210);
/* oklch */ color: oklch(64.6% 0.164 314.5);
Tailwind
colors: {
  custom: {
    50: '#cb97e0',
    500: '#b26bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b26bd2;
$custom-light: #cb97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bd2",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 281.359,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64586,
    "c": 0.16383,
    "h": 314.5
  },
  "luminance": 0.24634
}

Semantic roles & 50–950 ramp

primary
#B26BD2
secondary
#C5DFB9
accent
#C12555
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B26BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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