#B26BF4#B26BF4

#B26BF4 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.5% C 0.202 H 305.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B26BF4
RGBrgb(178, 107, 244)
HSLhsl(271, 86%, 69%)
HSVhsv(271, 56%, 96%)
CMYKcmyk(27%, 56.1%, 0%, 4.3%)
CIE-LABlab(58.52, 53.31, -58.22)
CIE-LCHlch(58.52, 78.94, 312.48°)
OKLaboklab(66.5% 0.1172 -0.1642)
OKLCHoklch(66.5% 0.202 305.5)
XYZxyz(39.9434, 26.5123, 88.5835)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF4 #ADF46B
analogous
#6E6BF4 #B26BF4 #F46BF2
triadic
#B26BF4 #F4B26B #6BF4B2
tetradic
#B26BF4 #F46E6B #ADF46B #6BF2F4
square
#B26BF4 #F46E6B #ADF46B #6BF2F4
split-complementary
#B26BF4 #F2F46B #6BF46E
monochromatic
#7610D5 #9432F0 #B26BF4 #D0A4F8 #EDDDFC

Accessibility & contrast

On white

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

On black

6.30
#B26BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26BF4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26BF4#FFFFFF#000000##000000
##B26BF41.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BF8
Deuteranopia (green-blind)
#528DF1
Tritanopia (blue-blind)
#A785A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26bf4;
/* rgb */ color: rgb(178, 107, 244);
/* oklch */ color: oklch(66.5% 0.202 305.5);
Tailwind
colors: {
  custom: {
    50: '#cc98f8',
    500: '#b26bf4',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf4;
$custom-light: #cc98f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf4",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 271.095,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66499,
    "c": 0.20169,
    "h": 305.5
  },
  "luminance": 0.26512
}

Semantic roles & 50–950 ramp

primary
#B26BF4
secondary
#DDF2C9
accent
#E3036F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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