#B26CF3#B26CF3

#B26CF3 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.6% C 0.199 H 305.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B26CF3
RGBrgb(178, 108, 243)
HSLhsl(271, 85%, 69%)
HSVhsv(271, 56%, 95%)
CMYKcmyk(26.7%, 55.6%, 0%, 4.7%)
CIE-LABlab(58.66, 52.56, -57.45)
CIE-LCHlch(58.66, 77.87, 312.46°)
OKLaboklab(66.58% 0.1159 -0.1619)
OKLCHoklch(66.58% 0.199 305.6)
XYZxyz(39.8969, 26.6615, 87.8210)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CF3 #ADF36C
analogous
#6F6CF3 #B26CF3 #F36CF1
triadic
#B26CF3 #F3B26C #6CF3B2
tetradic
#B26CF3 #F36F6C #ADF36C #6CF1F3
square
#B26CF3 #F36F6C #ADF36C #6CF1F3
split-complementary
#B26CF3 #F1F36C #6CF36F
monochromatic
#7611D3 #9433EE #B26CF3 #D0A5F8 #EDDDFC

Accessibility & contrast

On white

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

On black

6.33
#B26CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CF3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CF3#FFFFFF#000000##000000
##B26CF31.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF7
Deuteranopia (green-blind)
#548DF0
Tritanopia (blue-blind)
#A786A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26cf3;
/* rgb */ color: rgb(178, 108, 243);
/* oklch */ color: oklch(66.6% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#cc99f8',
    500: '#b26cf3',
    950: '#000000',
  },
}
SCSS
$custom: #b26cf3;
$custom-light: #cc99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cf3",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 271.111,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.1991,
    "h": 305.6
  },
  "luminance": 0.26661
}

Semantic roles & 50–950 ramp

primary
#B26CF3
secondary
#DDF1C9
accent
#E1046F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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