#B26AFE#B26AFE

#B26AFE is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.0% C 0.214 H 303.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B26AFE
RGBrgb(178, 106, 254)
HSLhsl(269, 99%, 71%)
HSVhsv(269, 58%, 100%)
CMYKcmyk(29.9%, 58.3%, 0%, 0.4%)
CIE-LABlab(58.91, 56.13, -63.13)
CIE-LCHlch(58.91, 84.48, 311.64°)
OKLaboklab(66.97% 0.1184 -0.1786)
OKLCHoklch(66.97% 0.214 303.6)
XYZxyz(41.3995, 26.9289, 96.7635)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AFE #B6FE6A
analogous
#6A6CFE #B26AFE #FC6AFE
triadic
#B26AFE #FEB26A #6AFEB2
tetradic
#B26AFE #FE6A6C #B6FE6A #6AFEFC
square
#B26AFE #FE6A6C #B6FE6A #6AFEFC
split-complementary
#B26AFE #FEFC6A #6CFE6A
monochromatic
#7402EC #932DFE #B26AFE #D1A7FE #EFE1FF

Accessibility & contrast

On white

3.29
#B26AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B26AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AFE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AFE#FFFFFF#000000##000000
##B26AFE1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#238CFF
Deuteranopia (green-blind)
#468EFB
Tritanopia (blue-blind)
#A488AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26afe;
/* rgb */ color: rgb(178, 106, 254);
/* oklch */ color: oklch(67.0% 0.214 303.6);
Tailwind
colors: {
  custom: {
    50: '#cd97ff',
    500: '#b26afe',
    950: '#000000',
  },
}
SCSS
$custom: #b26afe;
$custom-light: #cd97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26afe",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 269.189,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6697,
    "c": 0.21426,
    "h": 303.6
  },
  "luminance": 0.26929
}

Semantic roles & 50–950 ramp

primary
#B26AFE
secondary
#E2F6CE
accent
#E60076
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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