#B26FDB#B26FDB

#B26FDB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.167 H 311.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B26FDB
RGBrgb(178, 111, 219)
HSLhsl(277, 60%, 65%)
HSVhsv(277, 49%, 86%)
CMYKcmyk(18.7%, 49.3%, 0%, 14.1%)
CIE-LABlab(57.99, 45.60, -45.11)
CIE-LCHlch(57.99, 64.14, 315.31°)
OKLaboklab(65.67% 0.1103 -0.1259)
OKLCHoklch(65.67% 0.167 311.2)
XYZxyz(36.8284, 25.9490, 70.0727)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FDB #98DB6F
analogous
#7C6FDB #B26FDB #DB6FCE
triadic
#B26FDB #DBB26F #6FDBB2
tetradic
#B26FDB #DB7C6F #98DB6F #6FCEDB
square
#B26FDB #DB7C6F #98DB6F #6FCEDB
split-complementary
#B26FDB #CEDB6F #6FDB7C
monochromatic
#772AA6 #983ECF #B26FDB #CCA0E7 #E6D1F3

Accessibility & contrast

On white

3.39
#B26FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B26FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FDB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FDB#FFFFFF#000000##000000
##B26FDB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#688DD8
Tritanopia (blue-blind)
#AD809B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26fdb;
/* rgb */ color: rgb(178, 111, 219);
/* oklch */ color: oklch(65.7% 0.167 311.2);
Tailwind
colors: {
  custom: {
    50: '#cb9ae6',
    500: '#b26fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b26fdb;
$custom-light: #cb9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fdb",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 277.222,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65674,
    "c": 0.16737,
    "h": 311.2
  },
  "luminance": 0.25948
}

Semantic roles & 50–950 ramp

primary
#B26FDB
secondary
#CEE5C0
accent
#C81E5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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