#B26AF7#B26AF7

#B26AF7 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.5% C 0.206 H 305.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B26AF7
RGBrgb(178, 106, 247)
HSLhsl(271, 90%, 69%)
HSVhsv(271, 57%, 97%)
CMYKcmyk(27.9%, 57.1%, 0%, 3.1%)
CIE-LABlab(58.50, 54.51, -59.92)
CIE-LCHlch(58.50, 81.01, 312.29°)
OKLaboklab(66.54% 0.1184 -0.1691)
OKLCHoklch(66.54% 0.206 305)
XYZxyz(40.2990, 26.4887, 90.9675)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AF7 #AFF76A
analogous
#6C6AF7 #B26AF7 #F76AF6
triadic
#B26AF7 #F7B26A #6AF7B2
tetradic
#B26AF7 #F76C6A #AFF76A #6AF6F7
square
#B26AF7 #F76C6A #AFF76A #6AF6F7
split-complementary
#B26AF7 #F6F76A #6AF76C
monochromatic
#760CDB #9430F4 #B26AF7 #D0A4FA #EEDEFD

Accessibility & contrast

On white

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

On black

6.30
#B26AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AF7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AF7#FFFFFF#000000##000000
##B26AF71.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b26af7;
/* rgb */ color: rgb(178, 106, 247);
/* oklch */ color: oklch(66.5% 0.206 305.0);
Tailwind
colors: {
  custom: {
    50: '#cd97fa',
    500: '#b26af7',
    950: '#000000',
  },
}
SCSS
$custom: #b26af7;
$custom-light: #cd97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b26af7",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 270.638,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.20648,
    "h": 305
  },
  "luminance": 0.26488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B26AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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