#B26CFB#B26CFB

#B26CFB is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.1% C 0.208 H 303.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B26CFB
RGBrgb(178, 108, 251)
HSLhsl(269, 95%, 70%)
HSVhsv(269, 57%, 98%)
CMYKcmyk(29.1%, 57%, 0%, 1.6%)
CIE-LABlab(59.12, 54.41, -61.14)
CIE-LCHlch(59.12, 81.85, 311.67°)
OKLaboklab(67.07% 0.116 -0.1727)
OKLCHoklch(67.07% 0.208 303.9)
XYZxyz(41.1314, 27.1553, 94.3227)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CFB #B5FB6C
analogous
#6C6DFB #B26CFB #FA6CFB
triadic
#B26CFB #FBB26C #6CFBB2
tetradic
#B26CFB #FB6C6D #B5FB6C #6CFBFA
square
#B26CFB #FB6C6D #B5FB6C #6CFBFA
split-complementary
#B26CFB #FBFA6C #6DFB6C
monochromatic
#7406E6 #9330F9 #B26CFB #D1A8FD #EFE1FE

Accessibility & contrast

On white

3.27
#B26CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B26CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CFB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CFB#FFFFFF#000000##000000
##B26CFB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#A588A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26cfb;
/* rgb */ color: rgb(178, 108, 251);
/* oklch */ color: oklch(67.1% 0.208 303.9);
Tailwind
colors: {
  custom: {
    50: '#cd99fd',
    500: '#b26cfb',
    950: '#000000',
  },
}
SCSS
$custom: #b26cfb;
$custom-light: #cd99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cfb",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 269.371,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67067,
    "c": 0.20808,
    "h": 303.9
  },
  "luminance": 0.27155
}

Semantic roles & 50–950 ramp

primary
#B26CFB
secondary
#E2F5CE
accent
#E60075
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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