#B26AFF#B26AFF

#B26AFF is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.0% C 0.215 H 303.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B26AFF
RGBrgb(178, 106, 255)
HSLhsl(269, 100%, 71%)
HSVhsv(269, 58%, 100%)
CMYKcmyk(30.2%, 58.4%, 0%, 0%)
CIE-LABlab(58.97, 56.37, -63.59)
CIE-LCHlch(58.97, 84.97, 311.55°)
OKLaboklab(67.03% 0.1184 -0.1799)
OKLCHoklch(67.03% 0.215 303.4)
XYZxyz(41.5600, 26.9931, 97.6091)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AFF #B7FF6A
analogous
#6A6CFF #B26AFF #FC6AFF
triadic
#B26AFF #FFB26A #6AFFB2
tetradic
#B26AFF #FF6A6C #B7FF6A #6AFFFC
square
#B26AFF #FF6A6C #B7FF6A #6AFFFC
split-complementary
#B26AFF #FFFC6A #6CFF6A
monochromatic
#7300EF #922DFF #B26AFF #D2A7FF #EFE0FF

Accessibility & contrast

On white

3.28
#B26AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B26AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AFF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AFF#FFFFFF#000000##000000
##B26AFF1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#208CFF
Deuteranopia (green-blind)
#458EFC
Tritanopia (blue-blind)
#A488AB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26aff;
/* rgb */ color: rgb(178, 106, 255);
/* oklch */ color: oklch(67.0% 0.215 303.4);
Tailwind
colors: {
  custom: {
    50: '#cd97ff',
    500: '#b26aff',
    950: '#000000',
  },
}
SCSS
$custom: #b26aff;
$custom-light: #cd97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26aff",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 268.993,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67033,
    "c": 0.21537,
    "h": 303.4
  },
  "luminance": 0.26993
}

Semantic roles & 50–950 ramp

primary
#B26AFF
secondary
#E3F6CE
accent
#E60077
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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