#B26CD4#B26CD4

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

Color values

HEX#B26CD4
RGBrgb(178, 108, 212)
HSLhsl(280, 55%, 63%)
HSVhsv(280, 49%, 83%)
CMYKcmyk(16%, 49.1%, 0%, 16.9%)
CIE-LABlab(57.02, 45.69, -42.69)
CIE-LCHlch(57.02, 62.53, 316.94°)
OKLaboklab(64.84% 0.1136 -0.1188)
OKLCHoklch(64.84% 0.164 313.7)
XYZxyz(35.6044, 24.9445, 65.2138)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CD4 #8ED46C
analogous
#7E6CD4 #B26CD4 #D46CC2
triadic
#B26CD4 #D4B26C #6CD4B2
tetradic
#B26CD4 #D47E6C #8ED46C #6CC2D4
square
#B26CD4 #D47E6C #8ED46C #6CC2D4
split-complementary
#B26CD4 #C2D46C #6CD47E
monochromatic
#762D99 #993DC6 #B26CD4 #CB9BE2 #E4CBF0

Accessibility & contrast

On white

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

On black

5.99
#B26CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CD4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CD4#FFFFFF#000000##000000
##B26CD41.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#698BD1
Tritanopia (blue-blind)
#AF7C96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b26cd4;
/* rgb */ color: rgb(178, 108, 212);
/* oklch */ color: oklch(64.8% 0.164 313.7);
Tailwind
colors: {
  custom: {
    50: '#cb98e1',
    500: '#b26cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b26cd4;
$custom-light: #cb98e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cd4",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 280.385,
    "s": 54.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.1644,
    "h": 313.7
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#B26CD4
secondary
#C7E1BB
accent
#C22357
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B26CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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