#B26CF8#B26CF8

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

Color values

HEX#B26CF8
RGBrgb(178, 108, 248)
HSLhsl(270, 91%, 70%)
HSVhsv(270, 56%, 97%)
CMYKcmyk(28.2%, 56.5%, 0%, 2.7%)
CIE-LABlab(58.94, 53.71, -59.76)
CIE-LCHlch(58.94, 80.35, 311.95°)
OKLaboklab(66.88% 0.116 -0.1687)
OKLCHoklch(66.88% 0.205 304.5)
XYZxyz(40.6622, 26.9676, 91.8518)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CF8 #B2F86C
analogous
#6C6CF8 #B26CF8 #F86CF8
triadic
#B26CF8 #F8B26C #6CF8B2
tetradic
#B26CF8 #F86C6C #B2F86C #6CF8F8
square
#B26CF8 #F86C6C #B2F86C #6CF8F8
split-complementary
#B26CF8 #F8F86C #6CF86C
monochromatic
#750BDF #9332F5 #B26CF8 #D1A6FB #EFE1FE

Accessibility & contrast

On white

3.28
#B26CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B26CF8#FFFFFF#000000##000000
##B26CF81.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338CFD
Deuteranopia (green-blind)
#4F8EF5
Tritanopia (blue-blind)
#A687A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26cf8;
/* rgb */ color: rgb(178, 108, 248);
/* oklch */ color: oklch(66.9% 0.205 304.5);
Tailwind
colors: {
  custom: {
    50: '#cd99fb',
    500: '#b26cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b26cf8;
$custom-light: #cd99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cf8",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66884,
    "c": 0.20471,
    "h": 304.5
  },
  "luminance": 0.26967
}

Semantic roles & 50–950 ramp

primary
#B26CF8
secondary
#E0F4CC
accent
#E60073
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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