#B26FDF#B26FDF

#B26FDF is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.172 H 310.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B26FDF
RGBrgb(178, 111, 223)
HSLhsl(276, 64%, 65%)
HSVhsv(276, 50%, 87%)
CMYKcmyk(20.2%, 50.2%, 0%, 12.5%)
CIE-LABlab(58.19, 46.48, -47.03)
CIE-LCHlch(58.19, 66.13, 314.66°)
OKLaboklab(65.89% 0.1107 -0.1315)
OKLCHoklch(65.89% 0.172 310.1)
XYZxyz(37.3613, 26.1622, 72.8794)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FDF #9CDF6F
analogous
#7A6FDF #B26FDF #DF6FD4
triadic
#B26FDF #DFB26F #6FDFB2
tetradic
#B26FDF #DF7A6F #9CDF6F #6FD4DF
square
#B26FDF #DF7A6F #9CDF6F #6FD4DF
split-complementary
#B26FDF #D4DF6F #6FDF7A
monochromatic
#7726AD #973DD4 #B26FDF #CDA1EA #E8D3F5

Accessibility & contrast

On white

3.37
#B26FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B26FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FDF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FDF#FFFFFF#000000##000000
##B26FDF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#668DDC
Tritanopia (blue-blind)
#AC829D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26fdf;
/* rgb */ color: rgb(178, 111, 223);
/* oklch */ color: oklch(65.9% 0.172 310.1);
Tailwind
colors: {
  custom: {
    50: '#cb9ae9',
    500: '#b26fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b26fdf;
$custom-light: #cb9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fdf",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 275.893,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6589,
    "c": 0.1719,
    "h": 310.1
  },
  "luminance": 0.26162
}

Semantic roles & 50–950 ramp

primary
#B26FDF
secondary
#D1E8C2
accent
#CB1A61
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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