#B26BF9#B26BF9

#B26BF9 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.8% C 0.207 H 304.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B26BF9
RGBrgb(178, 107, 249)
HSLhsl(270, 92%, 70%)
HSVhsv(270, 57%, 98%)
CMYKcmyk(28.5%, 57%, 0%, 2.4%)
CIE-LABlab(58.81, 54.46, -60.53)
CIE-LCHlch(58.81, 81.43, 311.98°)
OKLaboklab(66.8% 0.1172 -0.1709)
OKLCHoklch(66.8% 0.207 304.4)
XYZxyz(40.7129, 26.8201, 92.6361)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF9 #B2F96B
analogous
#6B6BF9 #B26BF9 #F96BF9
triadic
#B26BF9 #F9B26B #6BF9B2
tetradic
#B26BF9 #F96B6B #B2F96B #6BF9F9
square
#B26BF9 #F96B6B #B2F96B #6BF9F9
split-complementary
#B26BF9 #F9F96B #6BF96B
monochromatic
#7509E0 #9330F7 #B26BF9 #D1A6FB #EFE1FE

Accessibility & contrast

On white

3.30
#B26BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B26BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BF9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BF9#FFFFFF#000000##000000
##B26BF91.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8CFE
Deuteranopia (green-blind)
#4D8EF6
Tritanopia (blue-blind)
#A587A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26bf9;
/* rgb */ color: rgb(178, 107, 249);
/* oklch */ color: oklch(66.8% 0.207 304.4);
Tailwind
colors: {
  custom: {
    50: '#cd98fc',
    500: '#b26bf9',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf9;
$custom-light: #cd98fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf9",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 270,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.20728,
    "h": 304.4
  },
  "luminance": 0.2682
}

Semantic roles & 50–950 ramp

primary
#B26BF9
secondary
#E0F4CC
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B26BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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