#B26DEC#B26DEC

#B26DEC is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.190 H 307.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B26DEC
RGBrgb(178, 109, 236)
HSLhsl(273, 77%, 68%)
HSVhsv(273, 54%, 93%)
CMYKcmyk(24.6%, 53.8%, 0%, 7.5%)
CIE-LABlab(58.47, 50.45, -53.86)
CIE-LCHlch(58.47, 73.79, 313.13°)
OKLaboklab(66.32% 0.1144 -0.1514)
OKLCHoklch(66.32% 0.19 307.1)
XYZxyz(38.9660, 26.4588, 82.3949)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DEC #A7EC6D
analogous
#726DEC #B26DEC #EC6DE7
triadic
#B26DEC #ECB26D #6DECB2
tetradic
#B26DEC #EC726D #A7EC6D #6DE7EC
square
#B26DEC #EC726D #A7EC6D #6DE7EC
split-complementary
#B26DEC #E7EC6D #6DEC72
monochromatic
#771AC5 #9537E5 #B26DEC #CFA3F3 #EBD9FA

Accessibility & contrast

On white

3.34
#B26DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#B26DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DEC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DEC#FFFFFF#000000##000000
##B26DEC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#A984A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26dec;
/* rgb */ color: rgb(178, 109, 236);
/* oklch */ color: oklch(66.3% 0.190 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc99f3',
    500: '#b26dec',
    950: '#000000',
  },
}
SCSS
$custom: #b26dec;
$custom-light: #cc99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b26dec",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 272.598,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66319,
    "c": 0.18972,
    "h": 307.1
  },
  "luminance": 0.26458
}

Semantic roles & 50–950 ramp

primary
#B26DEC
secondary
#D9EEC7
accent
#D90C6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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