#B26CD8#B26CD8

#B26CD8 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.1% C 0.169 H 312.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B26CD8
RGBrgb(178, 108, 216)
HSLhsl(279, 58%, 64%)
HSVhsv(279, 50%, 85%)
CMYKcmyk(17.6%, 50%, 0%, 15.3%)
CIE-LABlab(57.22, 46.55, -44.63)
CIE-LCHlch(57.22, 64.49, 316.20°)
OKLaboklab(65.05% 0.1141 -0.1245)
OKLCHoklch(65.05% 0.169 312.5)
XYZxyz(36.1152, 25.1488, 67.9041)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CD8 #92D86C
analogous
#7C6CD8 #B26CD8 #D86CC8
triadic
#B26CD8 #D8B26C #6CD8B2
tetradic
#B26CD8 #D87C6C #92D86C #6CC8D8
square
#B26CD8 #D87C6C #92D86C #6CC8D8
split-complementary
#B26CD8 #C8D86C #6CD87C
monochromatic
#762A9F #993CCB #B26CD8 #CB9CE5 #E5CDF2

Accessibility & contrast

On white

3.48
#B26CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B26CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CD8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CD8#FFFFFF#000000##000000
##B26CD81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5286DC
Deuteranopia (green-blind)
#678BD5
Tritanopia (blue-blind)
#AE7D98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b26cd8;
/* rgb */ color: rgb(178, 108, 216);
/* oklch */ color: oklch(65.1% 0.169 312.5);
Tailwind
colors: {
  custom: {
    50: '#cb98e4',
    500: '#b26cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b26cd8;
$custom-light: #cb98e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cd8",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 278.889,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65055,
    "c": 0.16884,
    "h": 312.5
  },
  "luminance": 0.25148
}

Semantic roles & 50–950 ramp

primary
#B26CD8
secondary
#CAE3BD
accent
#C6205A
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E15
muted
#827E84

Preview Lab

Preview with #B26CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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