#B26DF2#B26DF2

#B26DF2 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.7% C 0.197 H 305.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B26DF2
RGBrgb(178, 109, 242)
HSLhsl(271, 84%, 69%)
HSVhsv(271, 55%, 95%)
CMYKcmyk(26.4%, 55%, 0%, 5.1%)
CIE-LABlab(58.80, 51.81, -56.67)
CIE-LCHlch(58.80, 76.78, 312.44°)
OKLaboklab(66.67% 0.1146 -0.1596)
OKLCHoklch(66.67% 0.197 305.7)
XYZxyz(39.8523, 26.8134, 87.0632)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DF2 #ADF26D
analogous
#706DF2 #B26DF2 #F26DEF
triadic
#B26DF2 #F2B26D #6DF2B2
tetradic
#B26DF2 #F2706D #ADF26D #6DEFF2
square
#B26DF2 #F2706D #ADF26D #6DEFF2
split-complementary
#B26DF2 #EFF26D #6DF270
monochromatic
#7613D2 #9435ED #B26DF2 #D0A5F7 #EDDDFC

Accessibility & contrast

On white

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

On black

6.36
#B26DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DF2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DF2#FFFFFF#000000##000000
##B26DF21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#A786A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26df2;
/* rgb */ color: rgb(178, 109, 242);
/* oklch */ color: oklch(66.7% 0.197 305.7);
Tailwind
colors: {
  custom: {
    50: '#cc99f7',
    500: '#b26df2',
    950: '#000000',
  },
}
SCSS
$custom: #b26df2;
$custom-light: #cc99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b26df2",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 271.128,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66669,
    "c": 0.1965,
    "h": 305.7
  },
  "luminance": 0.26813
}

Semantic roles & 50–950 ramp

primary
#B26DF2
secondary
#DDF1CA
accent
#E0056F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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