#B26BFB#B26BFB

#B26BFB is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.9% C 0.210 H 304.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B26BFB
RGBrgb(178, 107, 251)
HSLhsl(270, 95%, 70%)
HSVhsv(270, 57%, 98%)
CMYKcmyk(29.1%, 57.4%, 0%, 1.6%)
CIE-LABlab(58.92, 54.92, -61.45)
CIE-LCHlch(58.92, 82.42, 311.79°)
OKLaboklab(66.93% 0.1172 -0.1736)
OKLCHoklch(66.93% 0.21 304)
XYZxyz(41.0265, 26.9455, 94.2877)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BFB #B4FB6B
analogous
#6B6CFB #B26BFB #FA6BFB
triadic
#B26BFB #FBB26B #6BFBB2
tetradic
#B26BFB #FB6B6C #B4FB6B #6BFBFA
square
#B26BFB #FB6B6C #B4FB6B #6BFBFA
split-complementary
#B26BFB #FBFA6B #6CFB6B
monochromatic
#7406E5 #932FF9 #B26BFB #D1A7FD #EFE1FE

Accessibility & contrast

On white

3.29
#B26BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B26BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BFB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BFB#FFFFFF#000000##000000
##B26BFB1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b26bfb;
/* rgb */ color: rgb(178, 107, 251);
/* oklch */ color: oklch(66.9% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#cd98fd',
    500: '#b26bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b26bfb;
$custom-light: #cd98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bfb",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 269.583,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66925,
    "c": 0.20951,
    "h": 304
  },
  "luminance": 0.26945
}

Semantic roles & 50–950 ramp

primary
#B26BFB
secondary
#E1F5CD
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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