#B26BED#B26BED

#B26BED is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.1% C 0.194 H 307.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B26BED
RGBrgb(178, 107, 237)
HSLhsl(273, 78%, 67%)
HSVhsv(273, 55%, 93%)
CMYKcmyk(24.9%, 54.9%, 0%, 7.1%)
CIE-LABlab(58.13, 51.72, -54.96)
CIE-LCHlch(58.13, 75.47, 313.26°)
OKLaboklab(66.08% 0.1169 -0.1546)
OKLCHoklch(66.08% 0.194 307.1)
XYZxyz(38.9007, 26.0952, 83.0919)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BED #A6ED6B
analogous
#716BED #B26BED #ED6BE7
triadic
#B26BED #EDB26B #6BEDB2
tetradic
#B26BED #ED716B #A6ED6B #6BE7ED
square
#B26BED #ED716B #A6ED6B #6BE7ED
split-complementary
#B26BED #E7ED6B #6BED71
monochromatic
#7718C6 #9634E6 #B26BED #CEA2F4 #EBD8FA

Accessibility & contrast

On white

3.38
#B26BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B26BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BED
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BED#FFFFFF#000000##000000
##B26BED1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#588CEA
Tritanopia (blue-blind)
#A983A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26bed;
/* rgb */ color: rgb(178, 107, 237);
/* oklch */ color: oklch(66.1% 0.194 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc98f3',
    500: '#b26bed',
    950: '#000000',
  },
}
SCSS
$custom: #b26bed;
$custom-light: #cc98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bed",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 272.769,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66084,
    "c": 0.19385,
    "h": 307.1
  },
  "luminance": 0.26095
}

Semantic roles & 50–950 ramp

primary
#B26BED
secondary
#D8EEC6
accent
#DB0B69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BED

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

Preview Lab → · Contrast checker → · Palette generator →

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