#B26AF8#B26AF8

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

Color values

HEX#B26AF8
RGBrgb(178, 106, 248)
HSLhsl(270, 91%, 69%)
HSVhsv(270, 57%, 97%)
CMYKcmyk(28.2%, 57.3%, 0%, 2.7%)
CIE-LABlab(58.56, 54.74, -60.38)
CIE-LCHlch(58.56, 81.50, 312.20°)
OKLaboklab(66.6% 0.1184 -0.1705)
OKLCHoklch(66.6% 0.208 304.8)
XYZxyz(40.4537, 26.5506, 91.7823)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AF8 #B0F86A
analogous
#6B6AF8 #B26AF8 #F86AF7
triadic
#B26AF8 #F8B26A #6AF8B2
tetradic
#B26AF8 #F86B6A #B0F86A #6AF7F8
square
#B26AF8 #F86B6A #B0F86A #6AF7F8
split-complementary
#B26AF8 #F7F86A #6AF86B
monochromatic
#750ADD #9430F5 #B26AF8 #D0A4FB #EEDFFD

Accessibility & contrast

On white

3.33
#B26AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B26AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AF8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AF8#FFFFFF#000000##000000
##B26AF81.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFD
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#A686A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26af8;
/* rgb */ color: rgb(178, 106, 248);
/* oklch */ color: oklch(66.6% 0.208 304.8);
Tailwind
colors: {
  custom: {
    50: '#cd97fb',
    500: '#b26af8',
    950: '#000000',
  },
}
SCSS
$custom: #b26af8;
$custom-light: #cd97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b26af8",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 270.423,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.666,
    "c": 0.20759,
    "h": 304.8
  },
  "luminance": 0.2655
}

Semantic roles & 50–950 ramp

primary
#B26AF8
secondary
#DFF3CA
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B26AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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