#B26CF7#B26CF7

#B26CF7 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.8% C 0.204 H 304.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B26CF7
RGBrgb(178, 108, 247)
HSLhsl(270, 90%, 70%)
HSVhsv(270, 56%, 97%)
CMYKcmyk(27.9%, 56.3%, 0%, 3.1%)
CIE-LABlab(58.89, 53.48, -59.30)
CIE-LCHlch(58.89, 79.86, 312.05°)
OKLaboklab(66.82% 0.116 -0.1673)
OKLCHoklch(66.82% 0.204 304.7)
XYZxyz(40.5075, 26.9057, 91.0370)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CF7 #B1F76C
analogous
#6D6CF7 #B26CF7 #F76CF6
triadic
#B26CF7 #F7B26C #6CF7B2
tetradic
#B26CF7 #F76D6C #B1F76C #6CF6F7
square
#B26CF7 #F76D6C #B1F76C #6CF6F7
split-complementary
#B26CF7 #F6F76C #6CF76D
monochromatic
#750CDD #9432F4 #B26CF7 #D0A6FA #EFE0FD

Accessibility & contrast

On white

3.29
#B26CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B26CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CF7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CF7#FFFFFF#000000##000000
##B26CF71.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#A687A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26cf7;
/* rgb */ color: rgb(178, 108, 247);
/* oklch */ color: oklch(66.8% 0.204 304.7);
Tailwind
colors: {
  custom: {
    50: '#cd99fa',
    500: '#b26cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b26cf7;
$custom-light: #cd99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cf7",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 270.216,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66824,
    "c": 0.20359,
    "h": 304.7
  },
  "luminance": 0.26906
}

Semantic roles & 50–950 ramp

primary
#B26CF7
secondary
#DFF3CC
accent
#E60072
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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