#B26FEF#B26FEF

#B26FEF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.8% C 0.190 H 306.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B26FEF
RGBrgb(178, 111, 239)
HSLhsl(271, 80%, 69%)
HSVhsv(271, 54%, 94%)
CMYKcmyk(25.5%, 53.6%, 0%, 6.3%)
CIE-LABlab(59.04, 50.08, -54.63)
CIE-LCHlch(59.04, 74.11, 312.51°)
OKLaboklab(66.79% 0.112 -0.1536)
OKLCHoklch(66.79% 0.19 306.1)
XYZxyz(39.6213, 27.0662, 84.7816)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FEF #ACEF6F
analogous
#726FEF #B26FEF #EF6FEC
triadic
#B26FEF #EFB26F #6FEFB2
tetradic
#B26FEF #EF726F #ACEF6F #6FECEF
square
#B26FEF #EF726F #ACEF6F #6FECEF
split-complementary
#B26FEF #ECEF6F #6FEF72
monochromatic
#7617CD #9538E9 #B26FEF #CFA6F5 #EDDDFB

Accessibility & contrast

On white

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

On black

6.41
#B26FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FEF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FEF#FFFFFF#000000##000000
##B26FEF1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#5B8EEC
Tritanopia (blue-blind)
#A887A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26fef;
/* rgb */ color: rgb(178, 111, 239);
/* oklch */ color: oklch(66.8% 0.190 306.1);
Tailwind
colors: {
  custom: {
    50: '#cc9af5',
    500: '#b26fef',
    950: '#000000',
  },
}
SCSS
$custom: #b26fef;
$custom-light: #cc9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fef",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 271.406,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.1901,
    "h": 306.1
  },
  "luminance": 0.27066
}

Semantic roles & 50–950 ramp

primary
#B26FEF
secondary
#DCF0CA
accent
#DC096E
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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