#B26CDD#B26CDD

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

Color values

HEX#B26CDD
RGBrgb(178, 108, 221)
HSLhsl(277, 62%, 65%)
HSVhsv(277, 51%, 87%)
CMYKcmyk(19.5%, 51.1%, 0%, 13.3%)
CIE-LABlab(57.47, 47.63, -47.05)
CIE-LCHlch(57.47, 66.95, 315.35°)
OKLaboklab(65.33% 0.1146 -0.1315)
OKLCHoklch(65.33% 0.174 311.1)
XYZxyz(36.7714, 25.4113, 71.3604)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CDD #97DD6C
analogous
#7A6CDD #B26CDD #DD6CD0
triadic
#B26CDD #DDB26C #6CDDB2
tetradic
#B26CDD #DD7A6C #97DD6C #6CD0DD
square
#B26CDD #DD7A6C #97DD6C #6CD0DD
split-complementary
#B26CDD #D0DD6C #6CDD7A
monochromatic
#7727A8 #983AD2 #B26CDD #CC9EE8 #E6CFF4

Accessibility & contrast

On white

3.45
#B26CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B26CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CDD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CDD#FFFFFF#000000##000000
##B26CDD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#648BDA
Tritanopia (blue-blind)
#AD7F9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b26cdd;
/* rgb */ color: rgb(178, 108, 221);
/* oklch */ color: oklch(65.3% 0.174 311.1);
Tailwind
colors: {
  custom: {
    50: '#cb98e8',
    500: '#b26cdd',
    950: '#000000',
  },
}
SCSS
$custom: #b26cdd;
$custom-light: #cb98e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cdd",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 277.168,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65326,
    "c": 0.17442,
    "h": 311.1
  },
  "luminance": 0.25411
}

Semantic roles & 50–950 ramp

primary
#B26CDD
secondary
#CEE6BF
accent
#CA1B5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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