#B26DF6#B26DF6

#B26DF6 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 66.9% C 0.201 H 304.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B26DF6
RGBrgb(178, 109, 246)
HSLhsl(270, 88%, 70%)
HSVhsv(270, 56%, 96%)
CMYKcmyk(27.6%, 55.7%, 0%, 3.5%)
CIE-LABlab(59.03, 52.73, -58.52)
CIE-LCHlch(59.03, 78.78, 312.02°)
OKLaboklab(66.91% 0.1147 -0.165)
OKLCHoklch(66.91% 0.201 304.8)
XYZxyz(40.4597, 27.0563, 90.2618)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DF6 #B1F66D
analogous
#6E6DF6 #B26DF6 #F66DF5
triadic
#B26DF6 #F6B26D #6DF6B2
tetradic
#B26DF6 #F66E6D #B1F66D #6DF5F6
square
#B26DF6 #F66E6D #B1F66D #6DF5F6
split-complementary
#B26DF6 #F5F66D #6DF66E
monochromatic
#750EDB #9433F2 #B26DF6 #D0A7FA #EFE0FD

Accessibility & contrast

On white

3.28
#B26DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B26DF6#FFFFFF#000000##000000
##B26DF61.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFB
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#A687A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26df6;
/* rgb */ color: rgb(178, 109, 246);
/* oklch */ color: oklch(66.9% 0.201 304.8);
Tailwind
colors: {
  custom: {
    50: '#cc99fa',
    500: '#b26df6',
    950: '#000000',
  },
}
SCSS
$custom: #b26df6;
$custom-light: #cc99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b26df6",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 270.219,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.20101,
    "h": 304.8
  },
  "luminance": 0.27056
}

Semantic roles & 50–950 ramp

primary
#B26DF6
secondary
#DFF3CC
accent
#E50172
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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