#B26FEA#B26FEA

#B26FEA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.184 H 307.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B26FEA
RGBrgb(178, 111, 234)
HSLhsl(273, 75%, 68%)
HSVhsv(273, 53%, 92%)
CMYKcmyk(23.9%, 52.6%, 0%, 8.2%)
CIE-LABlab(58.77, 48.94, -52.27)
CIE-LCHlch(58.77, 71.61, 313.11°)
OKLaboklab(66.5% 0.1117 -0.1468)
OKLCHoklch(66.5% 0.184 307.3)
XYZxyz(38.8928, 26.7748, 80.9451)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FEA #A7EA6F
analogous
#756FEA #B26FEA #EA6FE4
triadic
#B26FEA #EAB26F #6FEAB2
tetradic
#B26FEA #EA756F #A7EA6F #6FE4EA
square
#B26FEA #EA756F #A7EA6F #6FE4EA
split-complementary
#B26FEA #E4EA6F #6FEA75
monochromatic
#771CC2 #953AE2 #B26FEA #CFA4F2 #EBDAFA

Accessibility & contrast

On white

3.30
#B26FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B26FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FEA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FEA#FFFFFF#000000##000000
##B26FEA1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#AA85A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26fea;
/* rgb */ color: rgb(178, 111, 234);
/* oklch */ color: oklch(66.5% 0.184 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc9af1',
    500: '#b26fea',
    950: '#000000',
  },
}
SCSS
$custom: #b26fea;
$custom-light: #cc9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fea",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 272.683,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66502,
    "c": 0.18441,
    "h": 307.3
  },
  "luminance": 0.26774
}

Semantic roles & 50–950 ramp

primary
#B26FEA
secondary
#D9EDC7
accent
#D70F6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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