#B26AFC#B26AFC

#B26AFC is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.8% C 0.212 H 304.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B26AFC
RGBrgb(178, 106, 252)
HSLhsl(270, 96%, 70%)
HSVhsv(270, 58%, 99%)
CMYKcmyk(29.4%, 57.9%, 0%, 1.2%)
CIE-LABlab(58.79, 55.67, -62.22)
CIE-LCHlch(58.79, 83.49, 311.82°)
OKLaboklab(66.85% 0.1184 -0.1759)
OKLCHoklch(66.85% 0.212 304)
XYZxyz(41.0809, 26.8014, 95.0855)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AFC #B4FC6A
analogous
#6A6BFC #B26AFC #FB6AFC
triadic
#B26AFC #FCB26A #6AFCB2
tetradic
#B26AFC #FC6A6B #B4FC6A #6AFCFB
square
#B26AFC #FC6A6B #B4FC6A #6AFCFB
split-complementary
#B26AFC #FCFB6A #6BFC6A
monochromatic
#7405E7 #932EFB #B26AFC #D1A6FD #EFE1FE

Accessibility & contrast

On white

3.30
#B26AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B26AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AFC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AFC#FFFFFF#000000##000000
##B26AFC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#278CFF
Deuteranopia (green-blind)
#488DF9
Tritanopia (blue-blind)
#A587A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26afc;
/* rgb */ color: rgb(178, 106, 252);
/* oklch */ color: oklch(66.8% 0.212 304.0);
Tailwind
colors: {
  custom: {
    50: '#cd97fe',
    500: '#b26afc',
    950: '#000000',
  },
}
SCSS
$custom: #b26afc;
$custom-light: #cd97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b26afc",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 269.589,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66846,
    "c": 0.21204,
    "h": 304
  },
  "luminance": 0.26801
}

Semantic roles & 50–950 ramp

primary
#B26AFC
secondary
#E1F5CD
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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