#B26FE7#B26FE7

#B26FE7 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.181 H 308.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B26FE7
RGBrgb(178, 111, 231)
HSLhsl(274, 71%, 67%)
HSVhsv(274, 52%, 91%)
CMYKcmyk(22.9%, 51.9%, 0%, 9.4%)
CIE-LABlab(58.61, 48.26, -50.85)
CIE-LCHlch(58.61, 70.11, 313.50°)
OKLaboklab(66.33% 0.1114 -0.1426)
OKLCHoklch(66.33% 0.181 308)
XYZxyz(38.4655, 26.6039, 78.6945)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FE7 #A4E76F
analogous
#766FE7 #B26FE7 #E76FE0
triadic
#B26FE7 #E7B26F #6FE7B2
tetradic
#B26FE7 #E7766F #A4E76F #6FE0E7
square
#B26FE7 #E7766F #A4E76F #6FE0E7
split-complementary
#B26FE7 #E0E76F #6FE776
monochromatic
#771FBC #963BDE #B26FE7 #CEA3F0 #EAD8F8

Accessibility & contrast

On white

3.32
#B26FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B26FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FE7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FE7#FFFFFF#000000##000000
##B26FE71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#608EE4
Tritanopia (blue-blind)
#AA84A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26fe7;
/* rgb */ color: rgb(178, 111, 231);
/* oklch */ color: oklch(66.3% 0.181 308.0);
Tailwind
colors: {
  custom: {
    50: '#cc9aef',
    500: '#b26fe7',
    950: '#000000',
  },
}
SCSS
$custom: #b26fe7;
$custom-light: #cc9aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fe7",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 273.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66332,
    "c": 0.18099,
    "h": 308
  },
  "luminance": 0.26603
}

Semantic roles & 50–950 ramp

primary
#B26FE7
secondary
#D7ECC6
accent
#D31267
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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