#B26EFA#B26EFA

#B26EFA is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.3% C 0.204 H 303.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B26EFA
RGBrgb(178, 110, 250)
HSLhsl(269, 93%, 71%)
HSVhsv(269, 56%, 98%)
CMYKcmyk(28.8%, 56%, 0%, 2%)
CIE-LABlab(59.45, 53.14, -60.05)
CIE-LCHlch(59.45, 80.19, 311.51°)
OKLaboklab(67.29% 0.1136 -0.1695)
OKLCHoklch(67.29% 0.204 303.8)
XYZxyz(41.1875, 27.5191, 93.5658)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26EFA #B6FA6E
analogous
#6E70FA #B26EFA #F86EFA
triadic
#B26EFA #FAB26E #6EFAB2
tetradic
#B26EFA #FA6E70 #B6FA6E #6EFAF8
square
#B26EFA #FA6E70 #B6FA6E #6EFAF8
split-complementary
#B26EFA #FAF86E #70FA6E
monochromatic
#7408E6 #9333F8 #B26EFA #D1A9FC #EFE1FE

Accessibility & contrast

On white

3.23
#B26EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B26EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26EFA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26EFA#FFFFFF#000000##000000
##B26EFA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#A589AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b26efa;
/* rgb */ color: rgb(178, 110, 250);
/* oklch */ color: oklch(67.3% 0.204 303.8);
Tailwind
colors: {
  custom: {
    50: '#cd9afd',
    500: '#b26efa',
    950: '#000000',
  },
}
SCSS
$custom: #b26efa;
$custom-light: #cd9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#b26efa",
  "rgb": {
    "r": 178,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 269.143,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67293,
    "c": 0.20407,
    "h": 303.8
  },
  "luminance": 0.27519
}

Semantic roles & 50–950 ramp

primary
#B26EFA
secondary
#E2F5CF
accent
#E60076
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B26EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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