#B26BB2#B26BB2

#B26BB2 is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.0% C 0.130 H 327.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B26BB2
RGBrgb(178, 107, 178)
HSLhsl(300, 32%, 56%)
HSVhsv(300, 40%, 70%)
CMYKcmyk(0%, 39.9%, 0%, 30.2%)
CIE-LABlab(55.27, 39.36, -26.00)
CIE-LCHlch(55.27, 47.17, 326.55°)
OKLaboklab(63.04% 0.1091 -0.0709)
OKLCHoklch(63.04% 0.13 327)
XYZxyz(31.6531, 23.1961, 44.9208)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BB2 #6BB26B
analogous
#8E6BB2 #B26BB2 #B26B8E
triadic
#B26BB2 #B2B26B #6BB2B2
tetradic
#B26BB2 #B28E6B #6BB26B #6B8EB2
square
#B26BB2 #B28E6B #6BB26B #6B8EB2
split-complementary
#B26BB2 #8EB26B #6BB28E
monochromatic
#6B386B #934D93 #B26BB2 #C793C7 #DCBCDC

Accessibility & contrast

On white

3.72
#B26BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B26BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BB2#FFFFFF#000000##000000
##B26BB21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB5
Deuteranopia (green-blind)
#7888B0
Tritanopia (blue-blind)
#B67286
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b26bb2;
/* rgb */ color: rgb(178, 107, 178);
/* oklch */ color: oklch(63.0% 0.130 327.0);
Tailwind
colors: {
  custom: {
    50: '#ca97c9',
    500: '#b26bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b26bb2;
$custom-light: #ca97c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bb2",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63036,
    "c": 0.13012,
    "h": 327
  },
  "luminance": 0.23195
}

Semantic roles & 50–950 ramp

primary
#B26BB2
secondary
#AECBAE
accent
#C86060
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #B26BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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