#B26CDC#B26CDC

#B26CDC is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.3% C 0.173 H 311.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B26CDC
RGBrgb(178, 108, 220)
HSLhsl(278, 62%, 64%)
HSVhsv(278, 51%, 86%)
CMYKcmyk(19.1%, 50.9%, 0%, 13.7%)
CIE-LABlab(57.42, 47.41, -46.56)
CIE-LCHlch(57.42, 66.45, 315.52°)
OKLaboklab(65.27% 0.1145 -0.1301)
OKLCHoklch(65.27% 0.173 311.3)
XYZxyz(36.6386, 25.3581, 70.6608)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CDC #96DC6C
analogous
#7A6CDC #B26CDC #DC6CCE
triadic
#B26CDC #DCB26C #6CDCB2
tetradic
#B26CDC #DC7A6C #96DC6C #6CCEDC
square
#B26CDC #DC7A6C #96DC6C #6CCEDC
split-complementary
#B26CDC #CEDC6C #6CDC7A
monochromatic
#7728A6 #983BD0 #B26CDC #CC9DE8 #E6CFF4

Accessibility & contrast

On white

3.46
#B26CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B26CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CDC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CDC#FFFFFF#000000##000000
##B26CDC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#658BD9
Tritanopia (blue-blind)
#AD7E9A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b26cdc;
/* rgb */ color: rgb(178, 108, 220);
/* oklch */ color: oklch(65.3% 0.173 311.3);
Tailwind
colors: {
  custom: {
    50: '#cb98e7',
    500: '#b26cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b26cdc;
$custom-light: #cb98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cdc",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 277.5,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.1733,
    "h": 311.3
  },
  "luminance": 0.25357
}

Semantic roles & 50–950 ramp

primary
#B26CDC
secondary
#CDE5BE
accent
#C91C5D
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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