#B26BCA#B26BCA

#B26BCA is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.2% C 0.155 H 317.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B26BCA
RGBrgb(178, 107, 202)
HSLhsl(285, 47%, 61%)
HSVhsv(285, 47%, 79%)
CMYKcmyk(11.9%, 47%, 0%, 20.8%)
CIE-LABlab(56.33, 44.12, -38.10)
CIE-LCHlch(56.33, 58.29, 319.19°)
OKLaboklab(64.17% 0.1136 -0.1056)
OKLCHoklch(64.17% 0.155 317.1)
XYZxyz(34.2769, 24.2457, 58.7399)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BCA #83CA6B
analogous
#826BCA #B26BCA #CA6BB2
triadic
#B26BCA #CAB26B #6BCAB2
tetradic
#B26BCA #CA826B #83CA6B #6BB2CA
square
#B26BCA #CA826B #83CA6B #6BB2CA
split-complementary
#B26BCA #B2CA6B #6BCA82
monochromatic
#733189 #9941B6 #B26BCA #C998DA #E1C5EA

Accessibility & contrast

On white

3.59
#B26BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B26BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BCA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BCA#FFFFFF#000000##000000
##B26BCA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#6E89C7
Tritanopia (blue-blind)
#B17891
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b26bca;
/* rgb */ color: rgb(178, 107, 202);
/* oklch */ color: oklch(64.2% 0.155 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb97da',
    500: '#b26bca',
    950: '#000000',
  },
}
SCSS
$custom: #b26bca;
$custom-light: #cb97da;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bca",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 284.842,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64174,
    "c": 0.1551,
    "h": 317.1
  },
  "luminance": 0.24245
}

Semantic roles & 50–950 ramp

primary
#B26BCA
secondary
#BFDAB6
accent
#BB2B4F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B26BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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