#B26BF6#B26BF6

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

Color values

HEX#B26BF6
RGBrgb(178, 107, 246)
HSLhsl(271, 89%, 69%)
HSVhsv(271, 57%, 96%)
CMYKcmyk(27.6%, 56.5%, 0%, 3.5%)
CIE-LABlab(58.63, 53.77, -59.15)
CIE-LCHlch(58.63, 79.94, 312.27°)
OKLaboklab(66.62% 0.1172 -0.1669)
OKLCHoklch(66.62% 0.204 305.1)
XYZxyz(40.2487, 26.6344, 90.1915)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26BF6 #AFF66B
analogous
#6D6BF6 #B26BF6 #F66BF5
triadic
#B26BF6 #F6B26B #6BF6B2
tetradic
#B26BF6 #F66D6B #AFF66B #6BF5F6
square
#B26BF6 #F66D6B #AFF66B #6BF5F6
split-complementary
#B26BF6 #F5F66B #6BF66D
monochromatic
#760DD9 #9431F2 #B26BF6 #D0A5FA #EEDEFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B26BF6#FFFFFF#000000##000000
##B26BF61.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)
#348BFB
Deuteranopia (green-blind)
#508DF3
Tritanopia (blue-blind)
#A686A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26bf6;
/* rgb */ color: rgb(178, 107, 246);
/* oklch */ color: oklch(66.6% 0.204 305.1);
Tailwind
colors: {
  custom: {
    50: '#cd98fa',
    500: '#b26bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b26bf6;
$custom-light: #cd98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b26bf6",
  "rgb": {
    "r": 178,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 270.647,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.20392,
    "h": 305.1
  },
  "luminance": 0.26634
}

Semantic roles & 50–950 ramp

primary
#B26BF6
secondary
#DEF3CA
accent
#E50070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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