#B26EFE#B26EFE

#B26EFE is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.5% C 0.209 H 303.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B26EFE
RGBrgb(178, 110, 254)
HSLhsl(268, 99%, 71%)
HSVhsv(268, 57%, 100%)
CMYKcmyk(29.9%, 56.7%, 0%, 0.4%)
CIE-LABlab(59.68, 54.08, -61.89)
CIE-LCHlch(59.68, 82.19, 311.15°)
OKLaboklab(67.54% 0.1137 -0.1749)
OKLCHoklch(67.54% 0.209 303)
XYZxyz(41.8214, 27.7726, 96.9041)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26EFE #BAFE6E
analogous
#6E72FE #B26EFE #FA6EFE
triadic
#B26EFE #FEB26E #6EFEB2
tetradic
#B26EFE #FE6E72 #BAFE6E #6EFEFA
square
#B26EFE #FE6E72 #BAFE6E #6EFEFA
split-complementary
#B26EFE #FEFA6E #72FE6E
monochromatic
#7202F0 #9231FE #B26EFE #D2ABFE #EFE1FF

Accessibility & contrast

On white

3.20
#B26EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B26EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26EFE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26EFE#FFFFFF#000000##000000
##B26EFE1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#4C8FFB
Tritanopia (blue-blind)
#A48BAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b26efe;
/* rgb */ color: rgb(178, 110, 254);
/* oklch */ color: oklch(67.5% 0.209 303.0);
Tailwind
colors: {
  custom: {
    50: '#cd9aff',
    500: '#b26efe',
    950: '#000000',
  },
}
SCSS
$custom: #b26efe;
$custom-light: #cd9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26efe",
  "rgb": {
    "r": 178,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 268.333,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67537,
    "c": 0.2086,
    "h": 303
  },
  "luminance": 0.27773
}

Semantic roles & 50–950 ramp

primary
#B26EFE
secondary
#E5F7D1
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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