#B26CB3#B26CB3

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

Color values

HEX#B26CB3
RGBrgb(178, 108, 179)
HSLhsl(299, 32%, 56%)
HSVhsv(299, 40%, 70%)
CMYKcmyk(0.6%, 39.7%, 0%, 29.8%)
CIE-LABlab(55.53, 39.01, -26.18)
CIE-LCHlch(55.53, 46.98, 326.13°)
OKLaboklab(63.24% 0.1078 -0.0714)
OKLCHoklch(63.24% 0.129 326.5)
XYZxyz(31.8587, 23.4462, 45.4865)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CB3 #6DB36C
analogous
#8F6CB3 #B26CB3 #B36C91
triadic
#B26CB3 #B3B26C #6CB3B2
tetradic
#B26CB3 #B38F6C #6DB36C #6C91B3
square
#B26CB3 #B38F6C #6DB36C #6C91B3
split-complementary
#B26CB3 #91B36C #6CB38F
monochromatic
#6C386D #944D95 #B26CB3 #C794C8 #DCBDDD

Accessibility & contrast

On white

3.69
#B26CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B26CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CB3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CB3#FFFFFF#000000##000000
##B26CB31.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB6
Deuteranopia (green-blind)
#7988B1
Tritanopia (blue-blind)
#B67387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b26cb3;
/* rgb */ color: rgb(178, 108, 179);
/* oklch */ color: oklch(63.2% 0.129 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca98ca',
    500: '#b26cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b26cb3;
$custom-light: #ca98ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cb3",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 299.155,
    "s": 31.839,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.12933,
    "h": 326.5
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

primary
#B26CB3
secondary
#AFCCAF
accent
#C86061
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #B26CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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