#B26BF8#B26BF8

#B26BF8 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.7% C 0.206 H 304.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B26BF8
RGBrgb(178, 107, 248)
HSLhsl(270, 91%, 70%)
HSVhsv(270, 57%, 97%)
CMYKcmyk(28.2%, 56.9%, 0%, 2.7%)
CIE-LABlab(58.75, 54.23, -60.07)
CIE-LCHlch(58.75, 80.93, 312.07°)
OKLaboklab(66.74% 0.1172 -0.1696)
OKLCHoklch(66.74% 0.206 304.7)
XYZxyz(40.5574, 26.7579, 91.8169)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF8 #B1F86B
analogous
#6C6BF8 #B26BF8 #F86BF7
triadic
#B26BF8 #F8B26B #6BF8B2
tetradic
#B26BF8 #F86C6B #B1F86B #6BF7F8
square
#B26BF8 #F86C6B #B1F86B #6BF7F8
split-complementary
#B26BF8 #F7F86B #6BF86C
monochromatic
#750BDE #9431F5 #B26BF8 #D0A5FB #EFE0FE

Accessibility & contrast

On white

3.31
#B26BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B26BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BF8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BF8#FFFFFF#000000##000000
##B26BF81.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFD
Deuteranopia (green-blind)
#4E8DF5
Tritanopia (blue-blind)
#A687A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26bf8;
/* rgb */ color: rgb(178, 107, 248);
/* oklch */ color: oklch(66.7% 0.206 304.7);
Tailwind
colors: {
  custom: {
    50: '#cd98fb',
    500: '#b26bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf8;
$custom-light: #cd98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf8",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 270.213,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66741,
    "c": 0.20615,
    "h": 304.7
  },
  "luminance": 0.26758
}

Semantic roles & 50–950 ramp

primary
#B26BF8
secondary
#DFF4CB
accent
#E60072
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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