#B26CED#B26CED

#B26CED is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.192 H 307.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B26CED
RGBrgb(178, 108, 237)
HSLhsl(273, 78%, 68%)
HSVhsv(273, 54%, 93%)
CMYKcmyk(24.9%, 54.4%, 0%, 7.1%)
CIE-LABlab(58.33, 51.20, -54.64)
CIE-LCHlch(58.33, 74.88, 313.13°)
OKLaboklab(66.23% 0.1157 -0.1537)
OKLCHoklch(66.23% 0.192 307)
XYZxyz(39.0056, 26.3049, 83.1269)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CED #A7ED6C
analogous
#716CED #B26CED #ED6CE8
triadic
#B26CED #EDB26C #6CEDB2
tetradic
#B26CED #ED716C #A7ED6C #6CE8ED
square
#B26CED #ED716C #A7ED6C #6CE8ED
split-complementary
#B26CED #E8ED6C #6CED71
monochromatic
#7718C6 #9535E6 #B26CED #CFA3F4 #EBD9FA

Accessibility & contrast

On white

3.35
#B26CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B26CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CED
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CED#FFFFFF#000000##000000
##B26CED1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#A984A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26ced;
/* rgb */ color: rgb(178, 108, 237);
/* oklch */ color: oklch(66.2% 0.192 307.0);
Tailwind
colors: {
  custom: {
    50: '#cc98f3',
    500: '#b26ced',
    950: '#000000',
  },
}
SCSS
$custom: #b26ced;
$custom-light: #cc98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b26ced",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 272.558,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6623,
    "c": 0.19235,
    "h": 307
  },
  "luminance": 0.26305
}

Semantic roles & 50–950 ramp

primary
#B26CED
secondary
#D9EEC6
accent
#DA0B6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CED

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

Preview Lab → · Contrast checker → · Palette generator →

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