#B26CF9#B26CF9

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

Color values

HEX#B26CF9
RGBrgb(178, 108, 249)
HSLhsl(270, 92%, 70%)
HSVhsv(270, 57%, 98%)
CMYKcmyk(28.5%, 56.6%, 0%, 2.4%)
CIE-LABlab(59.00, 53.95, -60.22)
CIE-LCHlch(59.00, 80.85, 311.85°)
OKLaboklab(66.94% 0.116 -0.17)
OKLCHoklch(66.94% 0.206 304.3)
XYZxyz(40.8178, 27.0298, 92.6711)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CF9 #B3F96C
analogous
#6C6DF9 #B26CF9 #F86CF9
triadic
#B26CF9 #F9B26C #6CF9B2
tetradic
#B26CF9 #F96C6D #B3F96C #6CF9F8
square
#B26CF9 #F96C6D #B3F96C #6CF9F8
split-complementary
#B26CF9 #F9F86C #6DF96C
monochromatic
#7509E1 #9331F7 #B26CF9 #D1A7FB #F0E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B26CF9#FFFFFF#000000##000000
##B26CF91.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#A588A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26cf9;
/* rgb */ color: rgb(178, 108, 249);
/* oklch */ color: oklch(66.9% 0.206 304.3);
Tailwind
colors: {
  custom: {
    50: '#cd99fc',
    500: '#b26cf9',
    950: '#000000',
  },
}
SCSS
$custom: #b26cf9;
$custom-light: #cd99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cf9",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 269.787,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.66945,
    "c": 0.20583,
    "h": 304.3
  },
  "luminance": 0.2703
}

Semantic roles & 50–950 ramp

primary
#B26CF9
secondary
#E1F4CD
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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