#B26BF5#B26BF5

#B26BF5 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.6% C 0.203 H 305.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B26BF5
RGBrgb(178, 107, 245)
HSLhsl(271, 87%, 69%)
HSVhsv(271, 56%, 96%)
CMYKcmyk(27.3%, 56.3%, 0%, 3.9%)
CIE-LABlab(58.58, 53.54, -58.69)
CIE-LCHlch(58.58, 79.44, 312.37°)
OKLaboklab(66.56% 0.1172 -0.1655)
OKLCHoklch(66.56% 0.203 305.3)
XYZxyz(40.0957, 26.5732, 89.3853)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF5 #AEF56B
analogous
#6D6BF5 #B26BF5 #F56BF3
triadic
#B26BF5 #F5B26B #6BF5B2
tetradic
#B26BF5 #F56D6B #AEF56B #6BF3F5
square
#B26BF5 #F56D6B #AEF56B #6BF3F5
split-complementary
#B26BF5 #F3F56B #6BF56D
monochromatic
#760FD7 #9432F1 #B26BF5 #D0A4F9 #EEDEFD

Accessibility & contrast

On white

3.33
#B26BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B26BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BF5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BF5#FFFFFF#000000##000000
##B26BF51.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#A786A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26bf5;
/* rgb */ color: rgb(178, 107, 245);
/* oklch */ color: oklch(66.6% 0.203 305.3);
Tailwind
colors: {
  custom: {
    50: '#cd98f9',
    500: '#b26bf5',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf5;
$custom-light: #cd98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf5",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 270.87,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6656,
    "c": 0.2028,
    "h": 305.3
  },
  "luminance": 0.26573
}

Semantic roles & 50–950 ramp

primary
#B26BF5
secondary
#DDF2CA
accent
#E4026F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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