#B26CD3#B26CD3

#B26CD3 is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.8% C 0.163 H 314.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B26CD3
RGBrgb(178, 108, 211)
HSLhsl(281, 54%, 63%)
HSVhsv(281, 49%, 83%)
CMYKcmyk(15.6%, 48.8%, 0%, 17.3%)
CIE-LABlab(56.97, 45.47, -42.20)
CIE-LCHlch(56.97, 62.04, 317.14°)
OKLaboklab(64.79% 0.1135 -0.1174)
OKLCHoklch(64.79% 0.163 314)
XYZxyz(35.4786, 24.8942, 64.5515)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CD3 #8DD36C
analogous
#7F6CD3 #B26CD3 #D36CC0
triadic
#B26CD3 #D3B26C #6CD3B2
tetradic
#B26CD3 #D37F6C #8DD36C #6CC0D3
square
#B26CD3 #D37F6C #8DD36C #6CC0D3
split-complementary
#B26CD3 #C0D36C #6CD37F
monochromatic
#752D97 #993DC5 #B26CD3 #CB9BE1 #E3CAEF

Accessibility & contrast

On white

3.51
#B26CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B26CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CD3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CD3#FFFFFF#000000##000000
##B26CD31.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#6A8BD0
Tritanopia (blue-blind)
#AF7C96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b26cd3;
/* rgb */ color: rgb(178, 108, 211);
/* oklch */ color: oklch(64.8% 0.163 314.0);
Tailwind
colors: {
  custom: {
    50: '#cb98e1',
    500: '#b26cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b26cd3;
$custom-light: #cb98e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cd3",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 280.777,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64791,
    "c": 0.1633,
    "h": 314
  },
  "luminance": 0.24893
}

Semantic roles & 50–950 ramp

primary
#B26CD3
secondary
#C7E0BB
accent
#C12456
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B26CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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