#B26CE4#B26CE4

#B26CE4 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.182 H 309.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B26CE4
RGBrgb(178, 108, 228)
HSLhsl(275, 69%, 66%)
HSVhsv(275, 53%, 89%)
CMYKcmyk(21.9%, 52.6%, 0%, 10.6%)
CIE-LABlab(57.84, 49.17, -50.39)
CIE-LCHlch(57.84, 70.41, 314.30°)
OKLaboklab(65.71% 0.1151 -0.1413)
OKLCHoklch(65.71% 0.182 309.2)
XYZxyz(37.7236, 25.7921, 76.3749)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CE4 #9EE46C
analogous
#766CE4 #B26CE4 #E46CDA
triadic
#B26CE4 #E4B26C #6CE4B2
tetradic
#B26CE4 #E4766C #9EE46C #6CDAE4
square
#B26CE4 #E4766C #9EE46C #6CDAE4
split-complementary
#B26CE4 #DAE46C #6CE476
monochromatic
#7721B4 #9738DB #B26CE4 #CDA0ED #E8D3F7

Accessibility & contrast

On white

3.41
#B26CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B26CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CE4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CE4#FFFFFF#000000##000000
##B26CE41.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#608CE1
Tritanopia (blue-blind)
#AB819E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26ce4;
/* rgb */ color: rgb(178, 108, 228);
/* oklch */ color: oklch(65.7% 0.182 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc98ed',
    500: '#b26ce4',
    950: '#000000',
  },
}
SCSS
$custom: #b26ce4;
$custom-light: #cc98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b26ce4",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 275,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65714,
    "c": 0.18225,
    "h": 309.2
  },
  "luminance": 0.25792
}

Semantic roles & 50–950 ramp

primary
#B26CE4
secondary
#D3EAC2
accent
#D11563
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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