#B26AF5#B26AF5

#B26AF5 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.4% C 0.204 H 305.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B26AF5
RGBrgb(178, 106, 245)
HSLhsl(271, 87%, 69%)
HSVhsv(271, 57%, 96%)
CMYKcmyk(27.3%, 56.7%, 0%, 3.9%)
CIE-LABlab(58.38, 54.05, -59.00)
CIE-LCHlch(58.38, 80.02, 312.50°)
OKLaboklab(66.42% 0.1184 -0.1664)
OKLCHoklch(66.42% 0.204 305.4)
XYZxyz(39.9920, 26.3659, 89.3508)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AF5 #ADF56A
analogous
#6D6AF5 #B26AF5 #F56AF3
triadic
#B26AF5 #F5B26A #6AF5B2
tetradic
#B26AF5 #F56D6A #ADF56A #6AF3F5
square
#B26AF5 #F56D6A #ADF56A #6AF3F5
split-complementary
#B26AF5 #F3F56A #6AF56D
monochromatic
#760ED6 #9431F1 #B26AF5 #D0A3F9 #EDDDFD

Accessibility & contrast

On white

3.35
#B26AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B26AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AF5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AF5#FFFFFF#000000##000000
##B26AF51.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#328AFA
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#A785A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26af5;
/* rgb */ color: rgb(178, 106, 245);
/* oklch */ color: oklch(66.4% 0.204 305.4);
Tailwind
colors: {
  custom: {
    50: '#cd97f9',
    500: '#b26af5',
    950: '#000000',
  },
}
SCSS
$custom: #b26af5;
$custom-light: #cd97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b26af5",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 271.079,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.20425,
    "h": 305.4
  },
  "luminance": 0.26366
}

Semantic roles & 50–950 ramp

primary
#B26AF5
secondary
#DDF2C9
accent
#E4026F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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