#B26CB2#B26CB2

#B26CB2 is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.2% C 0.128 H 327.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B26CB2
RGBrgb(178, 108, 178)
HSLhsl(300, 31%, 56%)
HSVhsv(300, 39%, 70%)
CMYKcmyk(0%, 39.3%, 0%, 30.2%)
CIE-LABlab(55.49, 38.82, -25.67)
CIE-LCHlch(55.49, 46.54, 326.52°)
OKLaboklab(63.2% 0.1076 -0.07)
OKLCHoklch(63.2% 0.128 327)
XYZxyz(31.7579, 23.4059, 44.9558)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CB2 #6CB26C
analogous
#8F6CB2 #B26CB2 #B26C8F
triadic
#B26CB2 #B2B26C #6CB2B2
tetradic
#B26CB2 #B28F6C #6CB26C #6C8FB2
square
#B26CB2 #B28F6C #6CB26C #6C8FB2
split-complementary
#B26CB2 #8FB26C #6CB28F
monochromatic
#6B386B #944D94 #B26CB2 #C794C7 #DCBCDC

Accessibility & contrast

On white

3.70
#B26CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B26CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CB2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CB2#FFFFFF#000000##000000
##B26CB21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677FB5
Deuteranopia (green-blind)
#7988B0
Tritanopia (blue-blind)
#B67387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b26cb2;
/* rgb */ color: rgb(178, 108, 178);
/* oklch */ color: oklch(63.2% 0.128 327.0);
Tailwind
colors: {
  custom: {
    50: '#ca98c9',
    500: '#b26cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b26cb2;
$custom-light: #ca98c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cb2",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 31.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.12835,
    "h": 327
  },
  "luminance": 0.23404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B26CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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