#B26EF4#B26EF4

#B26EF4 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.9% C 0.197 H 305.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B26EF4
RGBrgb(178, 110, 244)
HSLhsl(270, 86%, 69%)
HSVhsv(270, 55%, 96%)
CMYKcmyk(27%, 54.9%, 0%, 4.3%)
CIE-LABlab(59.11, 51.75, -57.28)
CIE-LCHlch(59.11, 77.20, 312.10°)
OKLaboklab(66.93% 0.1134 -0.1614)
OKLCHoklch(66.93% 0.197 305.1)
XYZxyz(40.2616, 27.1487, 88.6896)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26EF4 #B0F46E
analogous
#6F6EF4 #B26EF4 #F46EF3
triadic
#B26EF4 #F4B26E #6EF4B2
tetradic
#B26EF4 #F46F6E #B0F46E #6EF3F4
square
#B26EF4 #F46F6E #B0F46E #6EF3F4
split-complementary
#B26EF4 #F3F46E #6EF46F
monochromatic
#7510D7 #9435F0 #B26EF4 #D0A7F8 #EEE0FD

Accessibility & contrast

On white

3.27
#B26EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B26EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26EF4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26EF4#FFFFFF#000000##000000
##B26EF41.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#558EF1
Tritanopia (blue-blind)
#A787A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26ef4;
/* rgb */ color: rgb(178, 110, 244);
/* oklch */ color: oklch(66.9% 0.197 305.1);
Tailwind
colors: {
  custom: {
    50: '#cc9af8',
    500: '#b26ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b26ef4;
$custom-light: #cc9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#b26ef4",
  "rgb": {
    "r": 178,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 270.448,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66934,
    "c": 0.19728,
    "h": 305.1
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#B26EF4
secondary
#DFF2CC
accent
#E20371
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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