#B26BFD#B26BFD

#B26BFD is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.0% C 0.212 H 303.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B26BFD
RGBrgb(178, 107, 253)
HSLhsl(269, 97%, 71%)
HSVhsv(269, 58%, 99%)
CMYKcmyk(29.6%, 57.7%, 0%, 0.8%)
CIE-LABlab(59.04, 55.39, -62.37)
CIE-LCHlch(59.04, 83.41, 311.61°)
OKLaboklab(67.05% 0.1172 -0.1763)
OKLCHoklch(67.05% 0.212 303.6)
XYZxyz(41.3434, 27.0723, 95.9569)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BFD #B6FD6B
analogous
#6B6DFD #B26BFD #FB6BFD
triadic
#B26BFD #FDB26B #6BFDB2
tetradic
#B26BFD #FD6B6D #B6FD6B #6BFDFB
square
#B26BFD #FD6B6D #B6FD6B #6BFDFB
split-complementary
#B26BFD #FDFB6B #6DFD6B
monochromatic
#7403EA #932FFC #B26BFD #D1A7FE #EFE1FF

Accessibility & contrast

On white

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

On black

6.41
#B26BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BFD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BFD#FFFFFF#000000##000000
##B26BFD1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#288CFF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#A488AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26bfd;
/* rgb */ color: rgb(178, 107, 253);
/* oklch */ color: oklch(67.0% 0.212 303.6);
Tailwind
colors: {
  custom: {
    50: '#cd98ff',
    500: '#b26bfd',
    950: '#000000',
  },
}
SCSS
$custom: #b26bfd;
$custom-light: #cd98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bfd",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 269.178,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.21174,
    "h": 303.6
  },
  "luminance": 0.27072
}

Semantic roles & 50–950 ramp

primary
#B26BFD
secondary
#E2F6CE
accent
#E60076
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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