#B26CF6#B26CF6

#B26CF6 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.8% C 0.202 H 304.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B26CF6
RGBrgb(178, 108, 246)
HSLhsl(270, 88%, 69%)
HSVhsv(270, 56%, 96%)
CMYKcmyk(27.6%, 56.1%, 0%, 3.5%)
CIE-LABlab(58.83, 53.25, -58.84)
CIE-LCHlch(58.83, 79.36, 312.15°)
OKLaboklab(66.76% 0.116 -0.166)
OKLCHoklch(66.76% 0.202 304.9)
XYZxyz(40.3536, 26.8441, 90.2264)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CF6 #B0F66C
analogous
#6D6CF6 #B26CF6 #F66CF5
triadic
#B26CF6 #F6B26C #6CF6B2
tetradic
#B26CF6 #F66D6C #B0F66C #6CF5F6
square
#B26CF6 #F66D6C #B0F66C #6CF5F6
split-complementary
#B26CF6 #F5F66C #6CF66D
monochromatic
#750DDA #9432F2 #B26CF6 #D0A6FA #EEDFFD

Accessibility & contrast

On white

3.30
#B26CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B26CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CF6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CF6#FFFFFF#000000##000000
##B26CF61.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#A687A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26cf6;
/* rgb */ color: rgb(178, 108, 246);
/* oklch */ color: oklch(66.8% 0.202 304.9);
Tailwind
colors: {
  custom: {
    50: '#cd99fa',
    500: '#b26cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b26cf6;
$custom-light: #cd99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cf6",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 270.435,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66763,
    "c": 0.20247,
    "h": 304.9
  },
  "luminance": 0.26844
}

Semantic roles & 50–950 ramp

primary
#B26CF6
secondary
#DFF3CB
accent
#E50071
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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