#B26BF7#B26BF7

#B26BF7 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.7% C 0.205 H 304.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B26BF7
RGBrgb(178, 107, 247)
HSLhsl(270, 90%, 69%)
HSVhsv(270, 57%, 97%)
CMYKcmyk(27.9%, 56.7%, 0%, 3.1%)
CIE-LABlab(58.69, 54.00, -59.61)
CIE-LCHlch(58.69, 80.43, 312.17°)
OKLaboklab(66.68% 0.1172 -0.1682)
OKLCHoklch(66.68% 0.205 304.9)
XYZxyz(40.4026, 26.6960, 91.0020)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF7 #B0F76B
analogous
#6C6BF7 #B26BF7 #F76BF6
triadic
#B26BF7 #F7B26B #6BF7B2
tetradic
#B26BF7 #F76C6B #B0F76B #6BF6F7
square
#B26BF7 #F76C6B #B0F76B #6BF6F7
split-complementary
#B26BF7 #F6F76B #6BF76C
monochromatic
#750CDC #9431F4 #B26BF7 #D0A5FA #EEDFFD

Accessibility & contrast

On white

3.31
#B26BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B26BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BF7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BF7#FFFFFF#000000##000000
##B26BF71.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#4F8DF4
Tritanopia (blue-blind)
#A686A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26bf7;
/* rgb */ color: rgb(178, 107, 247);
/* oklch */ color: oklch(66.7% 0.205 304.9);
Tailwind
colors: {
  custom: {
    50: '#cd98fa',
    500: '#b26bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf7;
$custom-light: #cd98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf7",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 270.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66681,
    "c": 0.20504,
    "h": 304.9
  },
  "luminance": 0.26696
}

Semantic roles & 50–950 ramp

primary
#B26BF7
secondary
#DFF3CB
accent
#E60071
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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