#B26DF5#B26DF5

#B26DF5 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.200 H 305.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B26DF5
RGBrgb(178, 109, 245)
HSLhsl(270, 87%, 69%)
HSVhsv(270, 56%, 96%)
CMYKcmyk(27.3%, 55.5%, 0%, 3.9%)
CIE-LABlab(58.97, 52.50, -58.06)
CIE-LCHlch(58.97, 78.28, 312.12°)
OKLaboklab(66.85% 0.1147 -0.1637)
OKLCHoklch(66.85% 0.2 305)
XYZxyz(40.3066, 26.9951, 89.4556)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DF5 #B0F56D
analogous
#6E6DF5 #B26DF5 #F56DF4
triadic
#B26DF5 #F5B26D #6DF5B2
tetradic
#B26DF5 #F56E6D #B0F56D #6DF4F5
square
#B26DF5 #F56E6D #B0F56D #6DF4F5
split-complementary
#B26DF5 #F4F56D #6DF56E
monochromatic
#750FD9 #9434F1 #B26DF5 #D0A6F9 #EEE0FD

Accessibility & contrast

On white

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

On black

6.40
#B26DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DF5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DF5#FFFFFF#000000##000000
##B26DF51.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CF9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#A787A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26df5;
/* rgb */ color: rgb(178, 109, 245);
/* oklch */ color: oklch(66.8% 0.200 305.0);
Tailwind
colors: {
  custom: {
    50: '#cc99f9',
    500: '#b26df5',
    950: '#000000',
  },
}
SCSS
$custom: #b26df5;
$custom-light: #cc99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b26df5",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 270.441,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66848,
    "c": 0.19988,
    "h": 305
  },
  "luminance": 0.26995
}

Semantic roles & 50–950 ramp

primary
#B26DF5
secondary
#DFF2CB
accent
#E40271
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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