#B26FFB#B26FFB

#B26FFB is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.5% C 0.204 H 303.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B26FFB
RGBrgb(178, 111, 251)
HSLhsl(269, 95%, 71%)
HSVhsv(269, 56%, 98%)
CMYKcmyk(29.1%, 55.8%, 0%, 1.6%)
CIE-LABlab(59.71, 52.86, -60.20)
CIE-LCHlch(59.71, 80.11, 311.28°)
OKLaboklab(67.5% 0.1124 -0.17)
OKLCHoklch(67.5% 0.204 303.5)
XYZxyz(41.4532, 27.7990, 94.4300)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FFB #B8FB6F
analogous
#6F72FB #B26FFB #F86FFB
triadic
#B26FFB #FBB26F #6FFBB2
tetradic
#B26FFB #FB6F72 #B8FB6F #6FFBF8
square
#B26FFB #FB6F72 #B8FB6F #6FFBF8
split-complementary
#B26FFB #FBF86F #72FB6F
monochromatic
#7306E9 #9233F9 #B26FFB #D2ABFD #EFE1FE

Accessibility & contrast

On white

3.20
#B26FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B26FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FFB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FFB#FFFFFF#000000##000000
##B26FFB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#A58AAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b26ffb;
/* rgb */ color: rgb(178, 111, 251);
/* oklch */ color: oklch(67.5% 0.204 303.5);
Tailwind
colors: {
  custom: {
    50: '#cd9bfd',
    500: '#b26ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b26ffb;
$custom-light: #cd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b26ffb",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 268.714,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.20376,
    "h": 303.5
  },
  "luminance": 0.27799
}

Semantic roles & 50–950 ramp

primary
#B26FFB
secondary
#E4F6D0
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B26FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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