#B26AEF#B26AEF

#B26AEF is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.1% C 0.198 H 306.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B26AEF
RGBrgb(178, 106, 239)
HSLhsl(272, 81%, 68%)
HSVhsv(272, 56%, 94%)
CMYKcmyk(25.5%, 55.6%, 0%, 6.3%)
CIE-LABlab(58.04, 52.69, -56.21)
CIE-LCHlch(58.04, 77.04, 313.15°)
OKLaboklab(66.06% 0.1183 -0.1583)
OKLCHoklch(66.06% 0.198 306.8)
XYZxyz(39.0909, 26.0054, 84.6048)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AEF #A7EF6A
analogous
#6F6AEF #B26AEF #EF6AEA
triadic
#B26AEF #EFB26A #6AEFB2
tetradic
#B26AEF #EF6F6A #A7EF6A #6AEAEF
square
#B26AEF #EF6F6A #A7EF6A #6AEAEF
split-complementary
#B26AEF #EAEF6A #6AEF6F
monochromatic
#7716C9 #9533E9 #B26AEF #CFA1F5 #EBD9FB

Accessibility & contrast

On white

3.39
#B26AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B26AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AEF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AEF#FFFFFF#000000##000000
##B26AEF1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#A883A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26aef;
/* rgb */ color: rgb(178, 106, 239);
/* oklch */ color: oklch(66.1% 0.198 306.8);
Tailwind
colors: {
  custom: {
    50: '#cc97f5',
    500: '#b26aef',
    950: '#000000',
  },
}
SCSS
$custom: #b26aef;
$custom-light: #cc97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b26aef",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 272.481,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.19757,
    "h": 306.8
  },
  "luminance": 0.26005
}

Semantic roles & 50–950 ramp

primary
#B26AEF
secondary
#D9EFC6
accent
#DD096A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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