#B26CF5#B26CF5

#B26CF5 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.7% C 0.201 H 305.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B26CF5
RGBrgb(178, 108, 245)
HSLhsl(271, 87%, 69%)
HSVhsv(271, 56%, 96%)
CMYKcmyk(27.3%, 55.9%, 0%, 3.9%)
CIE-LABlab(58.77, 53.02, -58.37)
CIE-LCHlch(58.77, 78.86, 312.25°)
OKLaboklab(66.7% 0.116 -0.1646)
OKLCHoklch(66.7% 0.201 305.2)
XYZxyz(40.2005, 26.7829, 89.4203)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CF5 #AFF56C
analogous
#6E6CF5 #B26CF5 #F56CF3
triadic
#B26CF5 #F5B26C #6CF5B2
tetradic
#B26CF5 #F56E6C #AFF56C #6CF3F5
square
#B26CF5 #F56E6C #AFF56C #6CF3F5
split-complementary
#B26CF5 #F3F56C #6CF56E
monochromatic
#760FD8 #9433F1 #B26CF5 #D0A5F9 #EEDFFD

Accessibility & contrast

On white

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

On black

6.36
#B26CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CF5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CF5#FFFFFF#000000##000000
##B26CF51.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BFA
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#A786A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26cf5;
/* rgb */ color: rgb(178, 108, 245);
/* oklch */ color: oklch(66.7% 0.201 305.2);
Tailwind
colors: {
  custom: {
    50: '#cc99f9',
    500: '#b26cf5',
    950: '#000000',
  },
}
SCSS
$custom: #b26cf5;
$custom-light: #cc99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cf5",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 270.657,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.20135,
    "h": 305.2
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#B26CF5
secondary
#DEF2CA
accent
#E40270
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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